changeset 70286:b0649e01002b

(mode-line-major-mode-keymap): Move the major mode menu to Mouse-3. (help-echo): help-echo doc fixes.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 Apr 2006 01:31:28 +0000
parents 0f15a453179c
children 5aeb9551e8d5
files lisp/bindings.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Sat Apr 29 22:15:04 2006 +0000
+++ b/lisp/bindings.el	Sun Apr 30 01:31:28 2006 +0000
@@ -267,9 +267,8 @@
 
 (defvar mode-line-major-mode-keymap
   (let ((map (make-sparse-keymap)))
-    (define-key map [mode-line down-mouse-1] 'mouse-major-mode-menu)
     (define-key map [mode-line mouse-2] 'describe-mode)
-    (define-key map [mode-line down-mouse-3] 'mode-line-mode-menu-1)
+    (define-key map [mode-line down-mouse-3] 'mouse-major-mode-menu)
     map) "\
 Keymap to display on major mode.")
 
@@ -310,13 +309,13 @@
     (list
      (propertize "%[(" 'help-echo help-echo)
      `(:propertize ("" mode-name)
-		   help-echo "mouse-1: major-mode-menu mouse-2: help for current major mode"
+		   help-echo "mouse-2: help for major mode, mouse-3: major mode menu"
 		   mouse-face mode-line-highlight
 		   local-map ,mode-line-major-mode-keymap)
      '("" mode-line-process)
      `(:propertize ("" minor-mode-alist)
 		   mouse-face mode-line-highlight
-		   help-echo "mouse-2: help for minor modes, mouse-3: minor mode menu"
+		   help-echo "mouse-2: help for minor mode, mouse-3: toggle minor modes"
 		   local-map ,mode-line-minor-mode-keymap)
      (propertize "%n" 'help-echo "mouse-2: widen"
 		 'mouse-face 'mode-line-highlight