From d1f14baa30f7e2898bbfc7ea68fe93020b69a901 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 28 Jan 2011 12:18:54 -0500 Subject: [PATCH] * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801). --- lisp/ChangeLog | 4 ++++ lisp/mouse.el | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4450a4eea6..c35e3db23e6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-01-28 Chong Yidong + + * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801). + 2011-01-28 Kenichi Handa * international/quail.el (quail-keyboard-layout-alist): Remove diff --git a/lisp/mouse.el b/lisp/mouse.el index 2e02448e0fb..bed4776c135 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -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 -- 2.39.5