[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Font attributes with font-lock-add-keywords()
From: |
Nordlöw |
Subject: |
Font attributes with font-lock-add-keywords() |
Date: |
Tue, 8 Jul 2008 10:19:42 -0700 (PDT) |
User-agent: |
G2/1.0 |
How do I extend the following call to font-lock-add-keywords() with
face/font attributes such as bold, italic etc?:
(font-lock-add-keywords
nil `(("(\\(lambda\\>\\)"
(0 (progn (compose-region (match-beginning 1) (match-end
1)
,(make-char 'greek-iso8859-7
107))
nil)))))
Do I have to first define a face or can I do this inline?
Thanks in advance,
Nordlöw
- Font attributes with font-lock-add-keywords(),
Nordlöw <=