(custom-variable-state-set, custom-face-state-set): Check
theme-value.
(custom-variable-reset-standard, custom-face-reset-standard):
- Remove theme setting entirely.
+ Remove theme setting entirely. Recalculate new values.
2005-12-23 Juri Linkov <juri@jurta.org>
(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)
(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))