Mercurial > emacs
changeset 63637:de897c139738
(face-user-default-spec): Try getting `customized-face' prior to `saved-face'.
(frame-background-mode): Refill docstring.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 21 Jun 2005 15:59:12 +0000 |
parents | 75c04f750f89 |
children | 83144542b6da |
files | lisp/faces.el |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)