emacs-devel
[Top][All Lists]
Advanced

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

Re: C preprocessor directives in asm-mode and ld-script-mode


From: Masatake YAMATO
Subject: Re: C preprocessor directives in asm-mode and ld-script-mode
Date: Tue, 15 Nov 2005 00:45:33 +0900 (JST)

>     In order to fontificate C preprocessor directives well in asm-mode and
>     ld-script-mode, I'd like to make c-font-lock-keywords-1 in GNU Emacs
>     21.2 revive as `cpp-font-lock-keywords'.
> 
> Why was that deleted in the first place?
> 
> If we do bring it back, it seems strange not to use it in C mode.
> Is there any reason not to use it in C mode as well?
> Can you see how to do that?

`c-font-lock-keywords-1' of cc-mode is accurate, but tightly integrated
to cc-mode itself. I cannot find an easy way to reuse the 
`c-font-lock-keywords-1' at the outside of cc-mode.

Masatake YAMATO




reply via email to

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