GNU bug report logs - #5536
set-face-attribute doesn't work correctly

Previous Next

Package: emacs;

Reported by: sj <prime.wizard+emacs <at> gmail.com>

Date: Sat, 6 Feb 2010 19:10:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: sj <prime.wizard+emacs <at> gmail.com>
Cc: 5536 <at> debbugs.gnu.org
Subject: bug#5536: set-face-attribute doesn't work correctly
Date: Sat, 06 Feb 2010 23:14:57 -0500
> (custom-face-attributes-get 'font-lock-keyword-face nil)
>  ==> (:foreground "Cyan1")
> (set-face-attribute 'font-lock-keyword-face nil
>             :family "verdana")
> (custom-face-attributes-get 'font-lock-keyword-face nil)
>  ==> (:foreground "Cyan1" :family "verdana")
> (set-face-attribute 'font-lock-keyword-face nil
>             :family 'unspecified)
> (custom-face-attributes-get 'font-lock-keyword-face nil)
>  ==> (:foreground "Cyan1" :family "verdana")
>
> my solution:
> modify faces.el file

Thanks.  Your patch looks reasonable, and I've checked it in.




This bug report was last modified 15 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.