From: Karl Heuer Date: Sat, 29 May 1999 19:20:07 +0000 (+0000) Subject: (font-lock-apply-syntactic-highlight): Don't die if X-Git-Tag: emacs-20.4~158 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1faf64740a429a34daf61479b49b17bcec5d4b7e;p=emacs.git (font-lock-apply-syntactic-highlight): Don't die if VALUE is a syntax table. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index d3498a888a5..13c7da67962 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -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.