summaryrefslogtreecommitdiff
path: root/rt-liberation-org.el
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2021-08-13 23:11:36 +1000
committerYuchen Pei <me@ypei.me>2021-08-13 23:11:36 +1000
commitaebe30cf35d181214edd490f613501f41a1502f6 (patch)
tree641a08511e6a09cf7c4cddcc7fd237bd8317799d /rt-liberation-org.el
parente9ec3a032649db96b7e76b7d10f1581d17d91b78 (diff)
Removing rt-org code that works with older org-mode
Diffstat (limited to 'rt-liberation-org.el')
-rw-r--r--rt-liberation-org.el12
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)