diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |