diff options
| author | Lute Kamstra | 2005-04-21 10:31:01 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-21 10:31:01 +0000 |
| commit | e157359534fc85143de54bc8d48a9313515ee3b0 (patch) | |
| tree | fd618c7c49eaa239a3c358a9cb77dbbad50a38ea | |
| parent | e235145cf3d944037a620c19b3856d5e71f3c939 (diff) | |
| download | emacs-e157359534fc85143de54bc8d48a9313515ee3b0.tar.gz emacs-e157359534fc85143de54bc8d48a9313515ee3b0.zip | |
(menu-bar-options-save, menu-bar-showhide-menu): Add size-indication-mode.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6d08dd944e..d4a67928ab7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-04-21 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): Add | ||
| 4 | size-indication-mode. | ||
| 5 | |||
| 1 | 2005-04-21 Kenichi Handa <handa@m17n.org> | 6 | 2005-04-21 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * international/mule-cmds.el: Add autoload for widget-value in | 8 | * international/mule-cmds.el: Add autoload for widget-value in |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index d0d42b9666d..ee51e8c349a 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -639,9 +639,9 @@ by \"Save Options\" in Custom buffers.") | |||
| 639 | (let ((need-save nil)) | 639 | (let ((need-save nil)) |
| 640 | ;; These are set with menu-bar-make-mm-toggle, which does not | 640 | ;; These are set with menu-bar-make-mm-toggle, which does not |
| 641 | ;; put on a customized-value property. | 641 | ;; put on a customized-value property. |
| 642 | (dolist (elt '(line-number-mode column-number-mode cua-mode show-paren-mode | 642 | (dolist (elt '(line-number-mode column-number-mode size-indication-mode |
| 643 | transient-mark-mode global-font-lock-mode | 643 | cua-mode show-paren-mode transient-mark-mode |
| 644 | blink-cursor-mode)) | 644 | global-font-lock-mode blink-cursor-mode)) |
| 645 | (and (customize-mark-to-save elt) | 645 | (and (customize-mark-to-save elt) |
| 646 | (setq need-save t))) | 646 | (setq need-save t))) |
| 647 | ;; These are set with `customize-set-variable'. | 647 | ;; These are set with `customize-set-variable'. |
| @@ -692,6 +692,11 @@ by \"Save Options\" in Custom buffers.") | |||
| 692 | "Line Numbers" | 692 | "Line Numbers" |
| 693 | "Show the current line number in the mode line")) | 693 | "Show the current line number in the mode line")) |
| 694 | 694 | ||
| 695 | (define-key menu-bar-showhide-menu [size-indication-mode] | ||
| 696 | (menu-bar-make-mm-toggle size-indication-mode | ||
| 697 | "Size Indication" | ||
| 698 | "Show the size of the buffer in the mode line")) | ||
| 699 | |||
| 695 | (define-key menu-bar-showhide-menu [linecolumn-separator] | 700 | (define-key menu-bar-showhide-menu [linecolumn-separator] |
| 696 | '("--")) | 701 | '("--")) |
| 697 | 702 | ||