[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change in face-spec-set
From: |
Glenn Morris |
Subject: |
Re: Change in face-spec-set |
Date: |
Mon, 29 Oct 2007 02:39:25 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Richard Stallman wrote:
> Because face-spec-set is supposed to completely override the settings
> of the face, setting it from zero.
>
> With the current code, and without my patch, does that work?
Give me a test case starting from emacs -Q and I'll tell you.
If I try to guess what you might mean, then with the current code:
emacs -Q
(describe-face 'font-lock-warning-face)
-> weight = bold
(face-spec-set 'font-lock-warning-face '((t :underline t)))
(make-frame)
On new frame:
(describe-face 'font-lock-warning-face)
-> weight = unspecified
Is this the kind of thing you are talking about?