From cb41203e13924b88862076377be69827d3f80ee5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 9 Mar 2000 13:29:44 +0000 Subject: [PATCH] (octave-font-lock-keywords): To font-lock the builtin operators, use `font-lock-builtin-face' for Emacs and `font-lock-preprocessor-face' otherwise. --- lisp/progmodes/octave-mod.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 "\\|") -- 2.39.5