Override an emacs face for a pre-defined font-lock

view full story

http://serverfault.com – I created an emacs theme using color-theme, everything looks like I want it to look except for the preprocessor lines. I'd them to have the sharp to use one color and the rest of the keyword another one. I tried many tricks, like commenting the font-lock-preprocessor-face and adding: (add-hook 'c-mode-common-hook (lambda () (font-lock-add-keywords nil '( ("\\(^#\\)\\([^ \t]+\\)" 1 '(:foreground "#FFFFFF") 2 '(:foreground "#FF007F")) On my init.el file but it has no effect (probably because font-l (HowTos)