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

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

Re: How can I make emacs highlight the first word of every line a partic


From: aartist
Subject: Re: How can I make emacs highlight the first word of every line a particular color?
Date: Thu, 18 Oct 2007 03:58:47 -0000
User-agent: G2/1.0

On Oct 17, 6:00 pm, address@hidden wrote:
> I'm scripting in tcl and if emacs font lock doesn't recognize the
> first word of a line as a tcl reserved word, I'd like it to highlight
> it as something else since it is ~98% of the time a user-defined proc
> name that I wrote.  Thanks for the help in advance!

You can use M-x highlight-regexp
Regexp to highlight: ^\(\w+\)



reply via email to

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