[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] outline-regexp and font locking

From: Aarre Laakso
Subject: [Orgmode] outline-regexp and font locking
Date: Sat, 28 Jun 2008 23:29:05 -0400


In order to edit AsciiDoc files using Org, I have the following line
in my .emacs (XEmacs 21.4.21):

(add-hook 'org-mode-hook '(lambda () (setq outline-regexp "=+")))

This does let me use Org outlining commands (e.g., tab to
collapse/show headings). However, it turns off the pretty font-locking
of the headings that I get with the default outline-regexp in

Could someone tell me how to change outline-regexp for org-mode AND
still get full org-mode font-locking?

Thank you,
Aarre Laakso

reply via email to

[Prev in Thread] Current Thread [Next in Thread]