# HG changeset patch # User Richard M. Stallman # Date 1146360979 0 # Node ID 45b7cad845ee8436fcc8c72aca9ec82a0b24fd79 # Parent 5aeb9551e8d5a6628ed09e6f4a3f83c52dcf7743 (mode-line-major-mode-keymap): Undo last change. (mode-line-format): Further help-echo doc fixes. diff -r 5aeb9551e8d5 -r 45b7cad845ee lisp/bindings.el --- 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