Fix menu-set-font interaction with Custom themes.
authorChong Yidong <cyd@gnu.org>
Tue, 31 Jan 2012 08:38:58 +0000 (16:38 +0800)
committerChong Yidong <cyd@gnu.org>
Tue, 31 Jan 2012 08:38:58 +0000 (16:38 +0800)
commitfce3fdeb947e51656675129592c8514be32b46bf
tree513a00667048d111fd309b587cebcdd5749fa376
parenta037c17168419db7f5054a3ba080b94b9298c1a9
Fix menu-set-font interaction with Custom themes.

In particular, prevent it from setting non-font-related attributes
like the foreground and background color.  This requires a bugfix to
face-spec-reset-face to make "resetting" the default face work.

* lisp/faces.el (face-spec-reset-face): Don't apply unspecified
attribute values to the default face.

* lisp/frame.el (set-frame-font): New arg ALL-FRAMES.

* lisp/menu-bar.el (menu-set-font): Use set-frame-font.
lisp/ChangeLog
lisp/faces.el
lisp/frame.el
lisp/menu-bar.el