From: Masatake Y. <je...@gy...> - 2005-11-14 15:45:49
|
> 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 |