[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e97d4e4 1/2: ; * lisp/menu-bar.el (menu-bar-goto-menu): Adjust ne
From: |
Mattias Engdegård |
Subject: |
master e97d4e4 1/2: ; * lisp/menu-bar.el (menu-bar-goto-menu): Adjust new item position |
Date: |
Mon, 25 Oct 2021 14:45:29 -0400 (EDT) |
branch: master
commit e97d4e4ab216acf2bf7395a0d5137dacd9b390f8
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * lisp/menu-bar.el (menu-bar-goto-menu): Adjust new item position
---
lisp/menu-bar.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index d1bb8d9..d986e3c 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -413,18 +413,18 @@
(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"))