diff options
author | jao <jao@gnu.org> | 2022-10-22 23:55:53 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-22 23:55:53 +0100 |
commit | fd58d38118e2c409db524ccc8ff213e8d98a43bf (patch) | |
tree | 2c5a8d35716df5c785cf64ca0e4b57b9a9e9612c /elisp/geiser-edit.el | |
parent | 74e4e87820112ac94bac583ba154dc67bc017a42 (diff) | |
download | geiser-fd58d38118e2c409db524ccc8ff213e8d98a43bf.tar.gz geiser-fd58d38118e2c409db524ccc8ff213e8d98a43bf.tar.bz2 |
debugging commands up to the specific scheme implementation
the half backed attempt at standardising guile's model won't work well with
other schemes, and it's not really well thought-out anyway: let's guile do its
thing, and we'll see what we can do in chez.
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 310ef28..a5a9c78 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -69,7 +69,9 @@ or following links in error buffers.") (geiser-edit--to-number (cdr (assoc "char" loc)))) (defsubst geiser-edit--make-location (name file line column) - `(("name" . ,name) ("file" . ,file) ("line" . ,line) ("column" . ,column))) + (if (equal line "") + `(("name" . ,name) ("file" . ,file) ("char" . ,column)) + `(("name" . ,name) ("file" . ,file) ("line" . ,line) ("column" . ,column)))) (defconst geiser-edit--def-re (regexp-opt '("define" |