[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
different font-lock faces for different modes
From: |
Christopher C. Stacy |
Subject: |
different font-lock faces for different modes |
Date: |
Sun, 17 Jul 2005 03:30:22 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I want to change the face used for comments,
depending on which mode (language) I am in.
I'm already doing something like this:
(custom-set-faces
'(font-lock-comment-face
((t ( :foreground "red")))))
For example, in C, I want keywords to be colored in red,
and in Lisp, I want keywords to be colored as blue.
How can I do that?
- different font-lock faces for different modes,
Christopher C. Stacy <=