From 74aa9c1d6bbc7d43d66138541ef4a595be3ef699 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 14 Oct 2015 02:30:37 -0400 Subject: km/org-open-file-at-point: Add fallback prompt --- lisp/init-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'." -- cgit v1.2.3