help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Font-Locking for Allout Mode


From: Tassilo Horn
Subject: Re: Font-Locking for Allout Mode
Date: Fri, 09 Mar 2007 22:44:12 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

Hi Stefan,

>> (defvar th-allout-font-lock-keywords
>>   '((eval . (list (concat "^\\(?:" allout-regexp "\\).+")
>>                0 '(cond ((= (allout-depth) 1)
>>                          '(1 . font-lock-function-name-face))
>                              ^^^^
> WTH is this for?

What, the "ctio"? I think I don't get you right.

The purpose is to fontify allout headings with different faces according
to the depth of the topic.

Bye,
Tassilo


reply via email to

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