summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-14 05:12:18 +0100
committerjao <jao@gnu.org>2022-10-14 05:12:18 +0100
commit9a172f3eb9b4089b9350f88ac015d1d3ee6fcd10 (patch)
treed7f31ff1b47d25cd695bca1766f7e2b856bc85dc
parent9a767e024da339aa12b0861473826384914ba010 (diff)
downloadgeiser-9a172f3eb9b4089b9350f88ac015d1d3ee6fcd10.tar.gz
geiser-9a172f3eb9b4089b9350f88ac015d1d3ee6fcd10.tar.bz2
fix: marker stack for jump to module
-rw-r--r--elisp/geiser-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 1b8aecd..750ccef 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -279,7 +279,7 @@ With prefix, asks for the symbol to locate."
(let ((marker (point-marker)))
(geiser-edit-module (or (geiser-completion--module-at-point)
(geiser-completion--read-module)))
- (when marker (xref-push-marker-stack))))
+ (when marker (xref-push-marker-stack marker))))
(defun geiser-insert-lambda (&optional full)
"Insert λ at point. With prefix, inserts (λ ())."