aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2011-01-28 12:18:54 -0500
committerChong Yidong <[email protected]>2011-01-28 12:18:54 -0500
commitd1f14baa30f7e2898bbfc7ea68fe93020b69a901 (patch)
tree2f5b4b0560eac7683bb2106de206f7b3e8b32524 /lisp/mouse.el
parent46b3f2bedc620f3cec2dd3e5fab9df3e30d70c2e (diff)
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 2e02448e0f..bed4776c13 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