diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-12-18 00:24:16 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-12-18 00:24:16 +0100 |
commit | 9c85f8c16b82531fa4fc86412071782d2d0b842e (patch) | |
tree | 0114de44a130e042daa88ed7cb1dac09e66b6cd2 /elisp/geiser-guile.el | |
parent | 1b8cc5bb9a075e30e296c953aa3f8eaa2583b327 (diff) | |
download | geiser-guile-9c85f8c16b82531fa4fc86412071782d2d0b842e.tar.gz geiser-guile-9c85f8c16b82531fa4fc86412071782d2d0b842e.tar.bz2 |
Guile: bug in backtrace display fixed.
Diffstat (limited to 'elisp/geiser-guile.el')
-rw-r--r-- | elisp/geiser-guile.el | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el index 332454f..c173f4d 100644 --- a/elisp/geiser-guile.el +++ b/elisp/geiser-guile.el @@ -109,15 +109,16 @@ This function uses `geiser-guile-init-file' if it exists." "^In \\([^\n:]+\\):\n *\\([[:digit:]]+\\|\\?\\):") (defun geiser-guile--find-files () - (save-excursion - (while (re-search-forward geiser-guile--file-rx nil t) - (let ((file (match-string 1)) - (beg (match-beginning 1)) - (end (match-end 1)) - (line (string-to-number (or (match-string 2) "0")))) - (let ((file (geiser-guile--resolve-file file))) - (when file - (geiser-edit--make-link beg end file line 0))))))) + (with--geiser-implementation 'guile + (save-excursion + (while (re-search-forward geiser-guile--file-rx nil t) + (let ((file (match-string 1)) + (beg (match-beginning 1)) + (end (match-end 1)) + (line (string-to-number (or (match-string 2) "0")))) + (let ((file (geiser-guile--resolve-file file))) + (when file + (geiser-edit--make-link beg end file line 0)))))))) (defun geiser-guile--display-error (module key msg) (when key |