diff options
| author | Richard M. Stallman | 2006-04-30 01:31:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-04-30 01:31:55 +0000 |
| commit | af0efc3fd4041fc433d4e2d8cccf15aa35d4109a (patch) | |
| tree | 00bb3ade3e466508fe1731f60f1d02791318894e /lisp/bindings.el | |
| parent | 7fe8b491e19c8f4a64c97c876c563506157f3868 (diff) | |
| download | emacs-af0efc3fd4041fc433d4e2d8cccf15aa35d4109a.tar.gz emacs-af0efc3fd4041fc433d4e2d8cccf15aa35d4109a.zip | |
(mode-line-major-mode-keymap): Move the major mode menu to Mouse-3.
(help-echo): help-echo doc fixes.
Diffstat (limited to 'lisp/bindings.el')
| -rw-r--r-- | lisp/bindings.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index aa3062b38e1..c2440d7f9a4 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -267,9 +267,8 @@ 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) | ||
| 271 | (define-key map [mode-line mouse-2] 'describe-mode) | 270 | (define-key map [mode-line mouse-2] 'describe-mode) |
| 272 | (define-key map [mode-line down-mouse-3] 'mode-line-mode-menu-1) | 271 | (define-key map [mode-line down-mouse-3] 'mouse-major-mode-menu) |
| 273 | map) "\ | 272 | map) "\ |
| 274 | Keymap to display on major mode.") | 273 | Keymap to display on major mode.") |
| 275 | 274 | ||
| @@ -310,13 +309,13 @@ Keymap to display on minor modes.") | |||
| 310 | (list | 309 | (list |
| 311 | (propertize "%[(" 'help-echo help-echo) | 310 | (propertize "%[(" 'help-echo help-echo) |
| 312 | `(:propertize ("" mode-name) | 311 | `(:propertize ("" mode-name) |
| 313 | help-echo "mouse-1: major-mode-menu mouse-2: help for current major mode" | 312 | help-echo "mouse-2: help for major mode, mouse-3: major mode menu" |
| 314 | mouse-face mode-line-highlight | 313 | mouse-face mode-line-highlight |
| 315 | local-map ,mode-line-major-mode-keymap) | 314 | local-map ,mode-line-major-mode-keymap) |
| 316 | '("" mode-line-process) | 315 | '("" mode-line-process) |
| 317 | `(:propertize ("" minor-mode-alist) | 316 | `(:propertize ("" minor-mode-alist) |
| 318 | mouse-face mode-line-highlight | 317 | mouse-face mode-line-highlight |
| 319 | help-echo "mouse-2: help for minor modes, mouse-3: minor mode menu" | 318 | help-echo "mouse-2: help for minor mode, mouse-3: toggle minor modes" |
| 320 | local-map ,mode-line-minor-mode-keymap) | 319 | local-map ,mode-line-minor-mode-keymap) |
| 321 | (propertize "%n" 'help-echo "mouse-2: widen" | 320 | (propertize "%n" 'help-echo "mouse-2: widen" |
| 322 | 'mouse-face 'mode-line-highlight | 321 | 'mouse-face 'mode-line-highlight |