diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-03-09 13:29:44 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-03-09 13:29:44 +0000 |
commit | cb41203e13924b88862076377be69827d3f80ee5 (patch) | |
tree | e001380b69126f548ee85cb357cdc9f42af800b2 /lisp/progmodes/octave-mod.el | |
parent | 11b42ef4cd754a74f739f1d5a8b17a6661b371f5 (diff) | |
download | emacs-cb41203e13924b88862076377be69827d3f80ee5.tar.gz |
(octave-font-lock-keywords): To font-lock the
builtin operators, use `font-lock-builtin-face' for Emacs and
`font-lock-preprocessor-face' otherwise.
Diffstat (limited to 'lisp/progmodes/octave-mod.el')
-rw-r--r-- | lisp/progmodes/octave-mod.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index d96b2d11fb5..6310c8aae80 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el @@ -176,7 +176,9 @@ parenthetical grouping.") '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 "\\|") |