emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode fd03739 151/495: push mark to find-tag-marker-ring


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode fd03739 151/495: push mark to find-tag-marker-ring
Date: Sat, 7 Aug 2021 09:05:02 -0400 (EDT)

branch: elpa/go-mode
commit fd037397a67de288d715a417fe55af12da2e1444
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    push mark to find-tag-marker-ring
    
    This allows using pop-tag-mark from etags to move to previous points
---
 go-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/go-mode.el b/go-mode.el
index 3886e46..8d10321 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -14,6 +14,7 @@
 ;;; Code:
 
 (require 'cl)
+(require 'etags)
 (require 'ffap)
 (require 'url)
 
@@ -926,6 +927,7 @@ description at POINT."
           (message "%s" file))
          (t
           (push-mark)
+          (ring-insert find-tag-marker-ring (point-marker))
           (godef--find-file-line-column file other-window))))
     (file-error (message "Could not run godef binary"))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]