> (setq font-lock-syntactic-face-function > (lambda (state) > (if (nth 3 state) font-lock-string-face > (if (nth 7 state) font-lock-other-comment-face > font-lock-comment-face))))
> and that should do what I want. Though on first attempt it doesn't seem to. Make sure you have a variable `font-lock-other-comment-face' whose value is a symbol (a face). Or otherwise try (setq font-lock-syntactic-face-function (lambda (state) (if (nth 3 state) font-lock-string-face (if (nth 7 state) 'font-lock-other-comment-face font-lock-comment-face)))) -- Stefan _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs