]> git.eshelyaron.com Git - emacs.git/commitdiff
(font-lock-apply-syntactic-highlight): Don't die if
authorKarl Heuer <kwzh@gnu.org>
Sat, 29 May 1999 19:20:07 +0000 (19:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 29 May 1999 19:20:07 +0000 (19:20 +0000)
VALUE is a syntax table.

lisp/font-lock.el

index d3498a888a52478822dd497e1b10d35464b408dc..13c7da67962ca0a6275d457dfd6f6a277a175656 100644 (file)
@@ -1232,7 +1232,7 @@ see `font-lock-syntactic-keywords'."
         (start (match-beginning match)) (end (match-end match))
         (value (nth 1 highlight))
         (override (nth 2 highlight)))
-    (unless (numberp (car value))
+    (unless (numberp (car-safe value))
       (setq value (eval value)))
     (cond ((not start)
           ;; No match but we might not signal an error.