From 1faf64740a429a34daf61479b49b17bcec5d4b7e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 29 May 1999 19:20:07 +0000 Subject: [PATCH] (font-lock-apply-syntactic-highlight): Don't die if VALUE is a syntax table. --- lisp/font-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5