From 14022dd54fb9b1dcd9cc84e968491a7119d9c2a2 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 14 Aug 2019 22:35:42 +0100 Subject: Pushing the correct marker (fixes #279) --- elisp/geiser-edit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elisp/geiser-edit.el') diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 541363d..c374c92 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -1,6 +1,6 @@ ;;; geiser-edit.el -- scheme edit locations -;; Copyright (C) 2009, 2010, 2012, 2013 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2012, 2013, 2019 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -239,7 +239,7 @@ With prefix, asks for the symbol to edit." (marker (point-marker))) (condition-case-unless-debug err-of-sym (progn (geiser-edit--try-edit symbol (geiser-eval--send/wait cmd)) - (when marker (xref-push-marker-stack))) + (when marker (xref-push-marker-stack marker))) (error (condition-case-unless-debug err-of-mod (geiser-edit-module-at-point) (error (error "Geiser:cannot edit symbol at point\nSymbol error message:%s\nModule error message:%s" -- cgit v1.2.3