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

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

Re: Font Lock Problems


From: Phillip Lord
Subject: Re: Font Lock Problems
Date: 23 Oct 2003 16:49:36 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93

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

  >> I am using global-font-lock-mode. Do I have to add something to
  >> my mode to provide support for font-lock? I'm currently defining
  >> my mode as a derived mode from text-mode.

  Stefan> Don't use `font-lock-add-keywords' when defining a major
  Stefan> mode.  See SampleMode for an example.


Okay, I've looked at SampleMode, and I have it all working now. Many
thanks.

Cheers

Phil


reply via email to

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