summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el1
-rw-r--r--lisp/init-org.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index 32f73a9..f38099d 100644
--- a/init.el
+++ b/init.el
@@ -10,6 +10,7 @@
(require 'init-appearance)
+(require 'cl-lib)
(require 'dash)
(require 's)
diff --git a/lisp/init-org.el b/lisp/init-org.el
index c4340d9..7a1b769 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -329,7 +329,7 @@ killed."
If a link for FILE does not exist, create it. Otherwise, remove
it. Like `org-agenda-file-to-front', this results in FILE being
displayed in the agenda."
- (interactive (list (case major-mode
+ (interactive (list (cl-case major-mode
(org-mode (buffer-file-name))
(dired-mode (dired-get-filename))
(org-agenda-mode (ignore-errors (save-window-excursion