summaryrefslogtreecommitdiff
path: root/lisp/init-org.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-10-22 21:09:22 -0400
committerKyle Meyer <kyle@kyleam.com>2014-10-22 21:09:22 -0400
commit851de4f6b3e973bdd62463c18050c40d8303a9b0 (patch)
tree67010432df0eaa5971470781bc1cbb1dea86322f /lisp/init-org.el
parentead2b569124f455b23e828650dfa8864aaba414b (diff)
downloademacs.d-851de4f6b3e973bdd62463c18050c40d8303a9b0.tar.gz
Go crazy with anaphoric forms
Diffstat (limited to 'lisp/init-org.el')
-rw-r--r--lisp/init-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index b24f32e..ab25cf2 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -61,8 +61,8 @@ PDF files are not ignored."
(defun km/org-open-annex-file ()
"Open a git annex file with `org-open-file'."
(interactive)
- (-if-let (files (magit-annex-present-files))
- (org-open-file (magit-completing-read "Open annex file" files nil t))
+ (--if-let (magit-annex-present-files)
+ (org-open-file (magit-completing-read "Open annex file" it nil t))
(message "No annex files found")))
(defun km/org-open-recent-file ()