diff options
author | Yuchen Pei <me@ypei.me> | 2021-08-13 23:11:36 +1000 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2021-08-13 23:11:36 +1000 |
commit | aebe30cf35d181214edd490f613501f41a1502f6 (patch) | |
tree | 641a08511e6a09cf7c4cddcc7fd237bd8317799d /rt-liberation-org.el | |
parent | e9ec3a032649db96b7e76b7d10f1581d17d91b78 (diff) |
Removing rt-org code that works with older org-mode
Diffstat (limited to 'rt-liberation-org.el')
-rw-r--r-- | rt-liberation-org.el | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/rt-liberation-org.el b/rt-liberation-org.el index 56bd44e..2119551 100644 --- a/rt-liberation-org.el +++ b/rt-liberation-org.el @@ -57,15 +57,9 @@ :description subject) link)))) -;; org-add-link-type is obsolete as of org-mode 9. Instead we will use the -;; org-link-set-parameters method -(if (fboundp 'org-link-set-parameters) - (org-link-set-parameters "rt" - :follow #'rt-org-open - :store #'rt-org-store-link) - (org-add-link-type "rt" #'rt-org-open) - (add-hook 'org-store-link-functions 'rt-org-store-link)) - +(org-link-set-parameters "rt" + :follow #'rt-org-open + :store #'rt-org-store-link) ;;; _ (provide 'rt-liberation-org) |