aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-04-30 01:36:19 +0000
committerRichard M. Stallman2006-04-30 01:36:19 +0000
commitd33c1fcea2d4ccbc45ceedc430337971ab087b9c (patch)
tree038200026bc9b4d799de117d478eea3281554e9e
parentaf0efc3fd4041fc433d4e2d8cccf15aa35d4109a (diff)
downloademacs-d33c1fcea2d4ccbc45ceedc430337971ab087b9c.tar.gz
emacs-d33c1fcea2d4ccbc45ceedc430337971ab087b9c.zip
(mode-line-major-mode-keymap): Undo last change.
(mode-line-format): Further help-echo doc fixes.
-rw-r--r--lisp/bindings.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index c2440d7f9a4..a2449798588 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -267,8 +267,9 @@ buffer size, the line number and the column number.")
267 267
268(defvar mode-line-major-mode-keymap 268(defvar mode-line-major-mode-keymap
269 (let ((map (make-sparse-keymap))) 269 (let ((map (make-sparse-keymap)))
270 (define-key map [mode-line down-mouse-1] 'mouse-major-mode-menu)
270 (define-key map [mode-line mouse-2] 'describe-mode) 271 (define-key map [mode-line mouse-2] 'describe-mode)
271 (define-key map [mode-line down-mouse-3] 'mouse-major-mode-menu) 272 (define-key map [mode-line down-mouse-3] 'mode-line-mode-menu-1)
272 map) "\ 273 map) "\
273Keymap to display on major mode.") 274Keymap to display on major mode.")
274 275
@@ -309,13 +310,13 @@ Keymap to display on minor modes.")
309 (list 310 (list
310 (propertize "%[(" 'help-echo help-echo) 311 (propertize "%[(" 'help-echo help-echo)
311 `(:propertize ("" mode-name) 312 `(:propertize ("" mode-name)
312 help-echo "mouse-2: help for major mode, mouse-3: major mode menu" 313 help-echo "mouse-1: major mode, mouse-2: major mode help, mouse-3: toggle minor modes"
313 mouse-face mode-line-highlight 314 mouse-face mode-line-highlight
314 local-map ,mode-line-major-mode-keymap) 315 local-map ,mode-line-major-mode-keymap)
315 '("" mode-line-process) 316 '("" mode-line-process)
316 `(:propertize ("" minor-mode-alist) 317 `(:propertize ("" minor-mode-alist)
317 mouse-face mode-line-highlight 318 mouse-face mode-line-highlight
318 help-echo "mouse-2: help for minor mode, mouse-3: toggle minor modes" 319 help-echo "mouse-2: minor mode help, mouse-3: toggle minor modes"
319 local-map ,mode-line-minor-mode-keymap) 320 local-map ,mode-line-minor-mode-keymap)
320 (propertize "%n" 'help-echo "mouse-2: widen" 321 (propertize "%n" 'help-echo "mouse-2: widen"
321 'mouse-face 'mode-line-highlight 322 'mouse-face 'mode-line-highlight