diff options
author | jao <jao@gnu.org> | 2022-10-16 03:39:01 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-16 03:39:01 +0100 |
commit | 08eb83e023ad043f58b89351eabbd5a1f2803068 (patch) | |
tree | 4931002d2880964030844d34c2e39a7eb62f7b8f /elisp | |
parent | 1c03af209ee46da5e3922884934539648c06cac0 (diff) | |
download | geiser-08eb83e023ad043f58b89351eabbd5a1f2803068.tar.gz geiser-08eb83e023ad043f58b89351eabbd5a1f2803068.tar.bz2 |
fix: restore looking for module if symbol's not there
Diffstat (limited to 'elisp')
-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 |