diff lisp/cus-edit.el @ 40825:22caa22b7399

2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk> * cus-edit.el (custom-face-value-create): Don't ignore the `customized-face' attribute when finding the current face spec.
author Per Abrahamsen <abraham@dina.kvl.dk>
date Thu, 08 Nov 2001 09:57:20 +0000
parents f49e883aeab2
children e694138746d6
line wrap: on
line diff
--- a/lisp/cus-edit.el	Thu Nov 08 08:16:34 2001 +0000
+++ b/lisp/cus-edit.el	Thu Nov 08 09:57:20 2001 +0000
@@ -2777,7 +2777,8 @@
 	     (unless (widget-get widget :custom-form)
 		 (widget-put widget :custom-form custom-face-default-form))
 	     (let* ((symbol (widget-value widget))
-		    (spec (or (get symbol 'saved-face)
+		    (spec (or (get symbol 'customized-face)
+			      (get symbol 'saved-face)
 			      (get symbol 'face-defface-spec)
 			      ;; Attempt to construct it.
 			      (list (list t (custom-face-attributes-get