X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/376de73927383d6062483db10b8a82448505f52b..327719ee8a3fcdb36ed6acaf6d8cb5fbdf0bd801:/lisp/textmodes/tex-mode.el diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 28bf9f6cf2..c35ba53dba 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' ?