summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)