diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-11 16:28:52 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-11 16:28:52 +0100 |
commit | 70cfa5b379e90e6899c7e1a210a5c468dc578479 (patch) | |
tree | 75237d0ac9844d11b61147d77182f78e60b81f76 /elisp/geiser-edit.el | |
parent | 8d1e1c47563131cd0f52f0cc02fa0b23eebd2227 (diff) | |
parent | 5a7c0553d5b60cd9475ecb33c5d65b76789757e0 (diff) | |
download | geiser-guile-70cfa5b379e90e6899c7e1a210a5c468dc578479.tar.gz geiser-guile-70cfa5b379e90e6899c7e1a210a5c468dc578479.tar.bz2 |
Merge branch 'guile-meta' into meta-reconnection
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r-- | elisp/geiser-edit.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 4d61edc..8c34c28 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -205,10 +205,12 @@ With prefix, asks for the symbol to edit." (geiser-completion--read-symbol "Edit symbol: "))) (cmd `(:eval (:ge symbol-location ',symbol))) (marker (point-marker))) - (condition-case nil + (condition-case err (progn (geiser-edit--try-edit symbol (geiser-eval--send/wait cmd)) (when marker (ring-insert find-tag-marker-ring marker))) - (error (geiser-edit-module-at-point))))) + (error (condition-case nil + (geiser-edit-module-at-point) + (error (error (error-message-string err)))))))) (defun geiser-pop-symbol-stack () "Pop back to where \\[geiser-edit-symbol-at-point] was last invoked." |