[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3984fbb: Add `size-indication-mode' to the menu on
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 3984fbb: Add `size-indication-mode' to the menu on `mouse-1' "Top" |
Date: |
Sun, 01 May 2016 17:42:53 +0000 |
branch: master
commit 3984fbbce9c93a118eebd73366e8338867c88e4d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
lisp/bindings.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/bindings.el b/lisp/bindings.el
index b64cd71..c13f4b1 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3984fbb: Add `size-indication-mode' to the menu on `mouse-1' "Top",
Lars Ingebrigtsen <=