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

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

Re: How do I get emacs to highlight subroutine calls in c-mode.


From: lawrence mitchell
Subject: Re: How do I get emacs to highlight subroutine calls in c-mode.
Date: Sat, 11 Oct 2003 13:21:37 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50

jan wrote:

[...]

> ;; add it to the font lock tables
> (bind-hook c-mode-hook
   ^^^^^^^^^^^^^^^^^^^^^

You probably meant:

 (add-hook 'c-mode-hook

>       (font-lock-add-keywords nil
>               '(("\\<\\(\\sw+\\) ?(" 1 font-lock-function-call-face))) t))


-- 
lawrence mitchell <wence@gmx.li>


reply via email to

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