From: Gerd Moellmann Date: Thu, 9 Mar 2000 13:29:44 +0000 (+0000) Subject: (octave-font-lock-keywords): To font-lock the X-Git-Tag: emacs-pretest-21.0.90~4708 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb41203e13924b88862076377be69827d3f80ee5;p=emacs.git (octave-font-lock-keywords): To font-lock the builtin operators, use `font-lock-builtin-face' for Emacs and `font-lock-preprocessor-face' otherwise. --- 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 "\\|")