|
From: | Bastien |
Subject: | Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ? |
Date: | Fri, 04 Oct 2013 10:02:15 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Xebar Saram <address@hidden> writes: > as you said i just want to highlight (BG/FG) specific areas/lines. > any help would be greatly appreciated! E.g. you can do this to highlight ♩ with '(:weight 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] |