summaryrefslogtreecommitdiff
path: root/rt-liberation-org.el
diff options
context:
space:
mode:
Diffstat (limited to 'rt-liberation-org.el')
-rw-r--r--rt-liberation-org.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/rt-liberation-org.el b/rt-liberation-org.el
index 2119551..0259061 100644
--- a/rt-liberation-org.el
+++ b/rt-liberation-org.el
@@ -7,7 +7,7 @@
;; Maintainer: Yoni Rabkin <yrk@gnu.org>
;; This file is a part of rt-liberation.
-
+
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 3 of the
@@ -57,9 +57,11 @@
:description subject)
link))))
-(org-link-set-parameters "rt"
- :follow #'rt-org-open
- :store #'rt-org-store-link)
+(if (fboundp 'org-link-set-parameters)
+ (org-link-set-parameters "rt"
+ :follow #'rt-org-open
+ :store #'rt-org-store-link)
+ (error "org-link-set-parameters is void. Are you using an old version of Org?"))
;;; _
(provide 'rt-liberation-org)