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

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

Re: Derived Mode 101 HOWTO


From: Johan Bockgård
Subject: Re: Derived Mode 101 HOWTO
Date: Mon, 13 Mar 2006 22:35:08 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Tim Johnson <tim@johnsons-web.com> writes:

>  And unfortunately I do not entirely understand. Are you saying that
>  XEmacs needs a 'progn form for the face?
>
>  By quoting the face:
> (defvar newlisp-font-lock-keywords
>    `(,@scheme-font-lock-keywords
>      (,(concat "\\<\\(" newlisp-keywords "\\)\\>")
>       . 'font-lock-newlisp-keywords-face) ;; quoted here

Well, 'font-lock-newlisp-keywords-face is an "expression whose value
is the face name to use", but apparently you shouldn't trust the
documentation. (That's one of the reasons i don't use XEmacs. :)

Try replacing the last line above with this:

      0 'font-lock-newlisp-keywords-face)

-- 
Johan Bockgård


reply via email to

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