emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser 08eb83e023 5/5: fix: restore looking for module if


From: ELPA Syncer
Subject: [nongnu] elpa/geiser 08eb83e023 5/5: fix: restore looking for module if symbol's not there
Date: Sat, 15 Oct 2022 22:58:31 -0400 (EDT)

branch: elpa/geiser
commit 08eb83e023ad043f58b89351eabbd5a1f2803068
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>

    fix: restore looking for module if symbol's not there
---
 elisp/geiser-edit.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 1a5d1dec71..4c2560cbb7 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]