mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
This commit is contained in:
parent
46b3f2bedc
commit
d1f14baa30
@ -1,3 +1,7 @@
|
||||
2011-01-28 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
|
||||
|
||||
2011-01-28 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* international/quail.el (quail-keyboard-layout-alist): Remove
|
||||
|
@ -198,9 +198,9 @@ items `Turn Off' and `Help'."
|
||||
newmap))
|
||||
|
||||
(defun mouse-menu-non-singleton (menubar)
|
||||
"Given menu keymap,
|
||||
if it defines exactly one submenu, return just that submenu.
|
||||
Otherwise return the whole menu."
|
||||
"Return menu keybar MENUBAR, or a lone submenu inside it.
|
||||
If MENUBAR defines exactly one submenu, return just that submenu.
|
||||
Otherwise, return MENUBAR."
|
||||
(if menubar
|
||||
(let (submap)
|
||||
(map-keymap
|
||||
|
Loading…
Reference in New Issue
Block a user