mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-27 19:31:38 +00:00
Add size-indication-mode' to the menu on
mouse-1' "Top"
* lisp/bindings.el (mode-line-column-line-number-mode-map): Add `size-indication-mode' to the menu (bug#5727).
This commit is contained in:
parent
ce98b0b1ab
commit
3984fbbce9
@ -338,6 +338,10 @@ mouse-3: Toggle minor modes"
|
||||
(defvar mode-line-column-line-number-mode-map
|
||||
(let ((map (make-sparse-keymap))
|
||||
(menu-map (make-sparse-keymap "Toggle Line and Column Number Display")))
|
||||
(bindings--define-key menu-map [size-indication-mode]
|
||||
'(menu-item "Display Size Indication" size-indication-mode
|
||||
:help "Toggle displaying a size indication in the mode-line"
|
||||
:button (:toggle . size-indication-mode)))
|
||||
(bindings--define-key menu-map [line-number-mode]
|
||||
'(menu-item "Display Line Numbers" line-number-mode
|
||||
:help "Toggle displaying line numbers in the mode-line"
|
||||
|
Loading…
Reference in New Issue
Block a user