bug-gnu-emacs
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#5536: set-face-attribute doesn't work correctly
From
:
sj
Subject
:
bug#5536: set-face-attribute doesn't work correctly
Date
:
Sun, 7 Feb 2010 00:29:47 +0900
symptom:
(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") ;; wasn't removed
--------------------------------------------------------------
my solution:
modify faces.el file
===============================================================
738c738
< (when (stringp family)
---
> (when (or (stringp family)(eq family 'unspecified))
741c741
< (when (stringp foundry)
---
> (when (or (stringp foundry)(eq foundry 'unspecified))
===============================================================
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
bug#5536: set-face-attribute doesn't work correctly
,
sj
<=
bug#5536: set-face-attribute doesn't work correctly
,
Chong Yidong
,
2010/02/06
Prev by Date:
bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
Next by Date:
bug#5528: 23.1.92; Eshell: ls -l *
Previous by thread:
bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
Next by thread:
bug#5536: set-face-attribute doesn't work correctly
Index(es):
Date
Thread