diff emacs/octave-mod.el @ 3607:0ecd1696605d

[project @ 2000-03-08 22:01:16 by jwe]
author jwe
date Wed, 08 Mar 2000 22:01:17 +0000
parents e5d5848370c9
children fd7d9a6e15ff
line wrap: on
line diff
--- a/emacs/octave-mod.el	Wed Mar 08 09:30:07 2000 +0000
+++ b/emacs/octave-mod.el	Wed Mar 08 22:01:17 2000 +0000
@@ -177,7 +177,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 "\\|")