changeset 64885:5e9954866b0b

(menu-bar-options-save): Move `display-time-mode' to correct group: it is set with `menu-bar-make-mm-toggle' (pointed out by Juri Linkov). Add `display-battery-mode'.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 10 Aug 2005 00:01:06 +0000
parents 6b36aec4b023
children f24b85282fb7
files lisp/menu-bar.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Tue Aug 09 23:58:46 2005 +0000
+++ b/lisp/menu-bar.el	Wed Aug 10 00:01:06 2005 +0000
@@ -641,7 +641,8 @@
     ;; put on a customized-value property.
     (dolist (elt '(line-number-mode column-number-mode size-indication-mode
 		   cua-mode show-paren-mode transient-mark-mode
-		   global-font-lock-mode blink-cursor-mode))
+		   global-font-lock-mode blink-cursor-mode
+		   display-time-mode display-battery-mode))
       (and (customize-mark-to-save elt)
 	   (setq need-save t)))
     ;; These are set with `customize-set-variable'.
@@ -650,7 +651,7 @@
 		   tooltip-mode menu-bar-mode tool-bar-mode
 		   save-place uniquify-buffer-name-style fringe-mode
 		   indicate-empty-lines indicate-buffer-boundaries
-		   case-fold-search display-time-mode auto-compression-mode
+		   case-fold-search auto-compression-mode
 		   current-language-environment default-input-method
 		   ;; Saving `text-mode-hook' is somewhat questionable,
 		   ;; as we might get more than we bargain for, if