emacs-devel
[Top][All Lists]
Advanced

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

Re: finder.el patch


From: Stefan Monnier
Subject: Re: finder.el patch
Date: Sat, 22 Mar 2008 21:09:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> +  (setq font-lock-defaults
> +     '((finder-font-lock-keywords lisp-font-lock-keywords
> +           lisp-font-lock-keywords-1 lisp-font-lock-keywords-2)

This just sets to use either one of (finder-font-lock-keywords
lisp-font-lock-keywords lisp-font-lock-keywords-1
lisp-font-lock-keywords-2) depending on font-lock-maximum-decoration.
Based on the comment in finder-font-lock-keywords, it doesn't seem to be
the intention.

On a similar note, I'm not sure why we should use the font-lock rules
from lisp-mode, since the buffer's content won't be Lisp code.


        Stefan




reply via email to

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