Commit 70128967 authored by Chong Yidong's avatar Chong Yidong
Browse files

(custom-face-state-set): Check theme-value.

parent d820f1fb
......@@ -8,7 +8,8 @@
customization" button one line up.
(custom-themed): New face.
(custom-magic-alist): New value, THEMED, for theme settings.
(custom-variable-state-set): Check theme-value.
(custom-variable-state-set, custom-face-state-set): Check
theme-value.
(custom-variable-reset-standard, custom-face-reset-standard):
Remove theme setting entirely.
 
......
......@@ -3308,7 +3308,12 @@ widget. If FILTER is nil, ACTION is always valid.")
(setq temp (get symbol 'saved-face-comment))
(or tmp temp))
(if (equal temp comment)
'saved
(cond
((eq 'user (caar (get symbol 'theme-face)))
'saved)
((eq 'standard (caar (get symbol 'theme-face)))
'changed)
(t 'themed))
'changed))
((get symbol 'face-defface-spec)
(if (equal comment nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment