summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-10-25 20:21:25 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-10-25 20:45:18 +0200
commite97d4e4ab216acf2bf7395a0d5137dacd9b390f8 (patch)
tree63adb6aab370a43efb70fda8e319387913691b88 /lisp/menu-bar.el
parente73b8ae86f09b34a65086641d693aea78e42fb25 (diff)
downloademacs-e97d4e4ab216acf2bf7395a0d5137dacd9b390f8.tar.gz
; * lisp/menu-bar.el (menu-bar-goto-menu): Adjust new item position
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index d1bb8d96779..d986e3cc924 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"))