# HG changeset patch # User Juri Linkov # Date 1119369552 0 # Node ID de897c1397382af5c0b0cef9c7b41761b98c48a4 # Parent 75c04f750f89ea67743d46de0e0907b229066ce6 (face-user-default-spec): Try getting `customized-face' prior to `saved-face'. (frame-background-mode): Refill docstring. diff -r 75c04f750f89 -r de897c139738 lisp/faces.el --- a/lisp/faces.el Tue Jun 21 14:13:49 2005 +0000 +++ b/lisp/faces.el Tue Jun 21 15:59:12 2005 +0000 @@ -1477,7 +1477,8 @@ (defsubst face-user-default-spec (face) "Return the user's customized face-spec for FACE, or the default if none. If there is neither a user setting nor a default for FACE, return nil." - (or (get face 'saved-face) + (or (get face 'customized-face) + (get face 'saved-face) (face-default-spec face))) @@ -1549,9 +1550,9 @@ (defcustom frame-background-mode nil "*The brightness of the background. -Set this to the symbol `dark' if your background color is dark, `light' if -your background is light, or nil (default) if you want Emacs to -examine the brightness for you. Don't set this variable with `setq'; +Set this to the symbol `dark' if your background color is dark, +`light' if your background is light, or nil (default) if you want Emacs +to examine the brightness for you. Don't set this variable with `setq'; this won't have the expected effect." :group 'faces :set #'(lambda (var value)