[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font-lock-face-attributes not changing
From: |
Ken Goldman |
Subject: |
font-lock-face-attributes not changing |
Date: |
Thu, 30 Apr 2015 09:17:02 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
I have a common .emacs file that I use across Linux and Windows
platforms. One one (24.3.1, a bit newer than the others) ,
font-lock-face-attributes has no effect. I get the default colors.
When I start .emacs, I don't see any warnings, and messages says the
.emacs is being read. What else should I look for?
The other hint is that it claims this is an invalid face, but it works
on several other Linux platforms.
(set-face-foreground 'modeline "navy")
(set-face-background 'modeline "lightblue1")
The relevant line is:
(setq font-lock-face-attributes
;; FACE FG BG bold italic
underline
'((font-lock-comment-face "gold" nil nil nil
nil)
(font-lock-string-face "lightskyblue2" nil nil nil
nil)
(font-lock-reference-face "palegreen2" nil nil nil
nil)
(font-lock-constant-face "palegreen2" nil nil nil
nil)
(font-lock-variable-name-face "wheat" nil nil nil
nil)
(font-lock-function-name-face "yellow" nil nil nil
1)
(font-lock-type-name-face "salmon" nil nil nil
nil)
(font-lock-doc-name-face "magenta" nil nil nil
nil)
(font-lock-keyword-face "pink" nil nil nil
nil)
(font-lock-type-face "lightsalmon" nil nil nil
nil)
(font-lock-builtin-face "palegreen2" nil nil nil
nil)
(font-lock-warning-face "red" nil nil nil
nil)
(font-lock-fatal-face "black" "red" nil nil
nil)
(show-paren-match-face "black" "green" nil nil
nil)
(paren-face-match "black" "green" nil nil
nil)
(flyspell-incorrect-face "wheat" nil nil nil
1)
(flyspell-duplicate-face "wheat" nil nil nil
1)
))
- font-lock-face-attributes not changing,
Ken Goldman <=