changeset 70288:45b7cad845ee

(mode-line-major-mode-keymap): Undo last change. (mode-line-format): Further help-echo doc fixes.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 Apr 2006 01:36:19 +0000
parents 5aeb9551e8d5
children 608b16c56304
files lisp/bindings.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Sun Apr 30 01:31:55 2006 +0000
+++ b/lisp/bindings.el	Sun Apr 30 01:36:19 2006 +0000
@@ -267,8 +267,9 @@
 
 (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] 'mouse-major-mode-menu)
+    (define-key map [mode-line down-mouse-3] 'mode-line-mode-menu-1)
     map) "\
 Keymap to display on major mode.")
 
@@ -309,13 +310,13 @@
     (list
      (propertize "%[(" 'help-echo help-echo)
      `(:propertize ("" mode-name)
-		   help-echo "mouse-2: help for major mode, mouse-3: major mode menu"
+		   help-echo "mouse-1: major mode, mouse-2: major mode help, mouse-3: toggle minor modes"
 		   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 mode, mouse-3: toggle minor modes"
+		   help-echo "mouse-2: minor mode help, mouse-3: toggle minor modes"
 		   local-map ,mode-line-minor-mode-keymap)
      (propertize "%n" 'help-echo "mouse-2: widen"
 		 'mouse-face 'mode-line-highlight