# HG changeset patch # User Richard M. Stallman # Date 1101582062 0 # Node ID 7bc75f3f915a3164521a326ce1b6ffd6f5f57db9 # Parent d6ce53475b81f42f6b2701b40a3328563fcb8532 (menu-bar-options-save): For the options that are toggled with menu-bar-make-mm-toggle, don't check for customized-value prop. diff -r d6ce53475b81 -r 7bc75f3f915a lisp/menu-bar.el --- a/lisp/menu-bar.el Sat Nov 27 18:22:57 2004 +0000 +++ b/lisp/menu-bar.el Sat Nov 27 19:01:02 2004 +0000 @@ -634,12 +634,17 @@ "Save current values of Options menu items using Custom." (interactive) (let ((need-save nil)) + ;; These are set with menu-bar-make-mm-toggle, which does not + ;; put on a customized-value property. + (dolist (elt '(line-number-mode column-number-mode cua-mode show-paren-mode + transient-mark-mode global-font-lock-mode)) + (and (customize-mark-to-save elt) + (setq need-save t))) ;; These are set with `customize-set-variable'. - (dolist (elt '(line-number-mode column-number-mode scroll-bar-mode + (dolist (elt '(scroll-bar-mode debug-on-quit debug-on-error menu-bar-mode tool-bar-mode save-place uniquify-buffer-name-style fringe-mode - case-fold-search cua-mode show-paren-mode - transient-mark-mode global-font-lock-mode + case-fold-search display-time-mode auto-compression-mode current-language-environment default-input-method ;; Saving `text-mode-hook' is somewhat questionable,