|
From: | Xebar Saram |
Subject: | Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ? |
Date: | Fri, 4 Oct 2013 11:23:55 +0300 |
Xebar Saram <address@hidden> writes:E.g. you can do this to highlight ♩ with '(:weight
> as you said i just want to highlight (BG/FG) specific areas/lines.
> any help would be greatly appreciated!
ultra-bold :background "#FFBF1E") :
(font-lock-add-keywords
'org-mode
'(("♩" (0 '(:weight ultra-bold :background "#FFBF1E") t))))
"♩" is actually a regular _expression_, so you can use [♩©] to highlight
both ♩ and ©.
0 means to highlight the entire matching text.
HTH,
--
Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |