From 9d4f2649d6459943c3b27d3ba8610166f0f46ac3 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 10 Sep 2003 17:50:37 +0000 Subject: [PATCH] (tex-font-lock-syntactic-face-function): Use characterp. --- lisp/textmodes/tex-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index ca345f8b635..0dba467e898 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -643,7 +643,7 @@ An alternative value is \" . \", if you use a font with a narrow period." ((not char) font-lock-comment-face) ((eq char ?$) tex-math-face) (t - (when (char-valid-p char) + (when (characterp char) ;; This is a \verb?...? construct. Let's find the end and mark it. (save-excursion (skip-chars-forward (string ?^ char)) ;; Use `end' ? -- 2.39.2