mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 22:50:59 -08:00
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
This commit is contained in:
parent
46b3f2bedc
commit
d1f14baa30
2 changed files with 7 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue