[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/command 56c03c0: Menus aren't usefully completed over
From: |
Lars Ingebrigtsen |
Subject: |
scratch/command 56c03c0: Menus aren't usefully completed over |
Date: |
Sat, 13 Feb 2021 09:39:17 -0500 (EST) |
branch: scratch/command
commit 56c03c05d7410e08e576ea983dc381dc6cfb5597
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Menus aren't usefully completed over
---
lisp/emacs-lisp/easymenu.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index 5303da3..39b3193 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -183,7 +183,10 @@ This is expected to be bound to a mouse event."
:filter)
'identity)
(symbol-function symbol)))
- symbol)))))
+ symbol))))
+ ;; These symbols are commands, but not interesting for users
+ ;; to `M-x TAB'.
+ (put symbol 'completion-predicate 'ignore))
(dolist (map (if (keymapp maps) (list maps) maps))
(define-key map
(vector 'menu-bar (easy-menu-intern (car menu)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/command 56c03c0: Menus aren't usefully completed over,
Lars Ingebrigtsen <=