emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100425: * mouse.el (mouse-menu-no


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100425: * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
Date: Fri, 28 Jan 2011 12:18:54 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100425
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Fri 2011-01-28 12:18:54 -0500
message:
  * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
modified:
  lisp/ChangeLog
  lisp/mouse.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-01-28 04:41:20 +0000
+++ b/lisp/ChangeLog    2011-01-28 17:18:54 +0000
@@ -1,3 +1,7 @@
+2011-01-28  Chong Yidong  <address@hidden>
+
+       * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
+
 2011-01-28  Kenichi Handa  <address@hidden>
 
        * international/quail.el (quail-keyboard-layout-alist): Remove

=== modified file 'lisp/mouse.el'
--- a/lisp/mouse.el     2011-01-02 23:50:46 +0000
+++ b/lisp/mouse.el     2011-01-28 17:18:54 +0000
@@ -198,9 +198,9 @@
     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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]