mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(mode-line-major-mode-keymap): Move the major mode menu to Mouse-3.
(help-echo): help-echo doc fixes.
This commit is contained in:
parent
7fe8b491e1
commit
af0efc3fd4
2 changed files with 7 additions and 4 deletions
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
2006-04-29 Richard Stallman <rms@gnu.org>
|
||||
|
||||
* bindings.el (mode-line-major-mode-keymap): Move the major mode menu
|
||||
to Mouse-3.
|
||||
(help-echo): help-echo doc fixes.
|
||||
|
||||
* net/tramp.el (tramp-file-name-handler-alist): Delete
|
||||
expand-file-name and other operations that can cause spurious loading.
|
||||
|
||||
|
|
|
|||
|
|
@ -267,9 +267,8 @@ buffer size, the line number and the column number.")
|
|||
|
||||
(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 @@ Keymap to display on minor modes.")
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue