1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

Richard M. Stallman <rms at gnu.org>

(custom-theme-recalc-face): Use face-spec-set rather than
face-spec-recalc.
This commit is contained in:
Glenn Morris 2008-01-18 05:41:09 +00:00
parent 7d235bca82
commit 279c44082a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-01-18 Richard Stallman <rms@gnu.org>
* custom.el (custom-theme-recalc-face): Use face-spec-set rather
than face-spec-recalc.
2008-01-18 Glenn Morris <rgm@gnu.org> 2008-01-18 Glenn Morris <rgm@gnu.org>
* ibuffer.el (ibuffer-mode): Fix typo in previous change. * ibuffer.el (ibuffer-mode): Fix typo in previous change.

View File

@ -1176,7 +1176,9 @@ This function returns nil if no custom theme specifies a value for VARIABLE."
(defun custom-theme-recalc-face (face) (defun custom-theme-recalc-face (face)
"Set FACE according to currently enabled custom themes." "Set FACE according to currently enabled custom themes."
(if (facep face) (if (facep face)
(face-spec-recalc face))) (face-spec-set face
(get (or (get face 'face-alias) face)
'face-override-spec))))
;;; XEmacs compability functions ;;; XEmacs compability functions