diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-10-14 02:30:37 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-10-14 02:30:37 -0400 |
commit | 74aa9c1d6bbc7d43d66138541ef4a595be3ef699 (patch) | |
tree | 6916bba69956affb6740df828f15f380f45eb6e0 | |
parent | 5ddd1278f749d8d134d890f7c29816989550638a (diff) | |
download | emacs.d-74aa9c1d6bbc7d43d66138541ef4a595be3ef699.tar.gz |
km/org-open-file-at-point: Add fallback prompt
-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 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'." |