]> git.eshelyaron.com Git - emacs.git/commitdiff
(face-user-default-spec): Try getting `customized-face' prior to `saved-face'.
authorJuri Linkov <juri@jurta.org>
Tue, 21 Jun 2005 15:59:12 +0000 (15:59 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 21 Jun 2005 15:59:12 +0000 (15:59 +0000)
(frame-background-mode): Refill docstring.

lisp/faces.el

index 2942438a32a6c2360ed833593bd971aa7ce89e4d..8cca01ad432f1cc72aad58e399b6f4391a44990d 100644 (file)
@@ -1477,7 +1477,8 @@ If there is no default for FACE, return nil."
 (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)))
 
 \f
@@ -1549,9 +1550,9 @@ If omitted or nil, that stands for the selected frame's display."
 
 (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)