]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/menu-bar.el (menu-bar-goto-menu): Adjust new item position
authorMattias Engdegård <mattiase@acm.org>
Mon, 25 Oct 2021 18:21:25 +0000 (20:21 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 25 Oct 2021 18:45:18 +0000 (20:45 +0200)
lisp/menu-bar.el

index d1bb8d96779dfe294a68d0a67590c3aec29549c5..d986e3cc92488197d8d83ec427c917a31c5eb026 100644 (file)
     (bindings--define-key menu [separator-tag-file]
       '(menu-item "--" nil :visible (menu-bar-goto-uses-etags-p)))
 
-    (bindings--define-key menu [xref-pop]
-      '(menu-item "Back" xref-pop-marker-stack
-                  :visible (and (featurep 'xref)
-                                (not (xref-marker-stack-empty-p)))
-                  :help "Back to the position of the last search"))
-
     (bindings--define-key menu [xref-forward]
       '(menu-item "Forward" xref-go-forward
                   :visible (and (featurep 'xref)
                                 (not (xref-forward-history-empty-p)))
                   :help "Forward to the position gone Back from"))
 
+    (bindings--define-key menu [xref-pop]
+      '(menu-item "Back" xref-pop-marker-stack
+                  :visible (and (featurep 'xref)
+                                (not (xref-marker-stack-empty-p)))
+                  :help "Back to the position of the last search"))
+
     (bindings--define-key menu [xref-apropos]
       '(menu-item "Find Apropos..." xref-find-apropos
                   :help "Find function/variables whose names match regexp"))