Mercurial > emacs
diff lisp/cus-edit.el @ 67791:32dce3f26e21
(custom-variable-reset-standard, custom-face-reset-standard):
Recalculate new values.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 24 Dec 2005 04:05:13 +0000 |
parents | 7c9d6a4a35c7 |
children | 1c774eee2980 |
line wrap: on
line diff
--- a/lisp/cus-edit.el Sat Dec 24 02:51:04 2005 +0000 +++ b/lisp/cus-edit.el Sat Dec 24 04:05:13 2005 +0000 @@ -2769,6 +2769,7 @@ (when (or (get symbol 'saved-value) (get symbol 'saved-variable-comment)) (put symbol 'saved-value nil) (custom-push-theme 'theme-value symbol 'user 'reset nil) + (custom-theme-recalc-variable symbol) (put symbol 'saved-variable-comment nil) (custom-save-all)) (widget-put widget :custom-state 'unknown) @@ -3434,6 +3435,7 @@ (when (or (get symbol 'saved-face) (get symbol 'saved-face-comment)) (put symbol 'saved-face nil) (custom-push-theme 'theme-face symbol 'user 'reset nil) + (custom-theme-recalc-face symbol) ;; Do not explictly save resets to standards without themes. (if (null (cdr (get symbol 'theme-face))) (put symbol 'theme-face nil))