Don't make faces when loading Custom themes.
authorChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 15:31:09 +0000 (23:31 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 15:31:09 +0000 (23:31 +0800)
commitaac2b673c3083ab612bcd57fbcd9d370078bd8da
treed5fc1b92e5f70e0d3af72467df2b3bf7e476f908
parentbacb0e7791b68b1b0a254c09910d666087a386b5
Don't make faces when loading Custom themes.

* custom.el (custom-theme-recalc-face): Do nothing if the face is
undefined.  Thus, theme settings for undefined faces do not take
effect until the faces are defined with defface, the same as with
theme variables.

* faces.el (face-spec-set): Use face-spec-recalc in all cases.
(face-spec-reset-face): Don't assign extra properties in temacs.
(face-spec-recalc): Apply X resources too.
lisp/ChangeLog
lisp/custom.el
lisp/faces.el