(tex-font-lock-syntactic-face-function): Use characterp.
authorDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:50:37 +0000 (17:50 +0000)
committerDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:50:37 +0000 (17:50 +0000)
lisp/textmodes/tex-mode.el

index ca345f8..0dba467 100644 (file)
@@ -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' ?