summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-10-14 02:30:37 -0400
committerKyle Meyer <kyle@kyleam.com>2015-10-14 02:30:37 -0400
commit74aa9c1d6bbc7d43d66138541ef4a595be3ef699 (patch)
tree6916bba69956affb6740df828f15f380f45eb6e0 /lisp
parent5ddd1278f749d8d134d890f7c29816989550638a (diff)
downloademacs.d-74aa9c1d6bbc7d43d66138541ef4a595be3ef699.tar.gz
km/org-open-file-at-point: Add fallback prompt
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index b4e5eb0..bf0211e 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -720,7 +720,7 @@ to be easily overriden.")
(thing-at-point 'filename))))
(if (and file (file-exists-p file))
(org-open-file file)
- (user-error "No file at point")))))
+ (km/org-open-file)))))
(defun km/org-open-file ()
"Interactive version of `org-open-file'."