diff options
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r-- | elisp/geiser-edit.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 1a5d1de..4c2560c 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -128,7 +128,9 @@ or following links in error buffers.") (when file (geiser-edit--visit-file file (or method geiser-edit-symbol-method))) (or (geiser-edit--goto-location symbol line col pos) - (error "Couldn't find location for symbol at point")))) + file + (unless no-error + (error "Couldn't find location for '%s'" symbol))))) (defsubst geiser-edit--try-edit (symbol ret &optional method no-error) (geiser-edit--try-edit-location symbol |