Mercurial > emacs
diff lisp/progmodes/octave-mod.el @ 28070:7079931424be
(octave-font-lock-keywords): To font-lock the
builtin operators, use `font-lock-builtin-face' for Emacs and
`font-lock-preprocessor-face' otherwise.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 09 Mar 2000 13:29:44 +0000 |
parents | 313a03652df3 |
children | 31e7749d1e1a |
line wrap: on
line diff
--- a/lisp/progmodes/octave-mod.el Thu Mar 09 13:28:42 2000 +0000 +++ b/lisp/progmodes/octave-mod.el Thu Mar 09 13:29:44 2000 +0000 @@ -176,7 +176,9 @@ 'font-lock-keyword-face) ;; Fontify all builtin operators. (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)" - 'font-lock-builtin-face) + (if (boundp 'font-lock-builtin-face) + 'font-lock-builtin-face + 'font-lock-preprocessor-face)) ;; Fontify all builtin variables. (cons (concat "\\<\\(" (mapconcat 'identity octave-variables "\\|")