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

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

Re: problem with font-lock in C-mode with keywords inside "//" comments


From: Stefan Monnier
Subject: Re: problem with font-lock in C-mode with keywords inside "//" comments
Date: 09 Nov 2001 17:45:05 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Matt" == Matt Kowitt <mkowitt@thinksrs.com> writes:
> void main(void) {
>   // keywords appearing within "//" style comments, 
>   // like: for do, appear (erroneously) highlighted.

>   /* keywords appearing within "/*" style comments,
>    * like:  while if, are not highlighted.
>    */
> }

Works fine here when I try the above file with

        emacs -q --no-site-file ~/tmp/foo.c
        M-x global-font-lock-mode RET

can you try to refine your recipe so we can reproduce it ?


        Stefan



reply via email to

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