On Sep 28, 2010, at 7:48 PM, Uwe Brauer wrote:

On Tue, 28 Sep 2010 18:10:31 +0200, Carsten Dominik <carsten.domi...@gmail.com > wrote:

On Sep 27, 2010, at 12:24 PM, Uwe Brauer wrote:


(list (list lisp-regexp-4 0
'font-lock-comment-warn-face t)))))


Or

(add-to-list 'org-font-lock-keywords            
'(" ?\\(\\<\\*[a-zA-Z]*\\*\\>\\)" 1 'font-lock-comment-warn-face
append t))

Org-mode sets org-font-lock-keywords while the mode is turned
on, locally in each org-mode buffer, because depending on setup,
the keywords can be different in different buffers.

Please take a look at the function org-set-font-lock-defaults,
I am using 6.34, this function is not documented.

and in particular use the hook org-font-lock-set-keywords-hook
does not exist
in order to append your stuff to the variable
org-font-lock-keywords-extra (no, I do not know why
this neither.

So I must upgrade I presume?

Or do something more clever, like finding another hook *maybe in font- lock
that runs at the right time.

- Carsten


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to