1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

(sh-font-lock-syntactic-face-function): Use characterp.

This commit is contained in:
Dave Love 2003-09-10 17:51:08 +00:00
parent 9d4f2649d6
commit 813f5534f5

View File

@ -936,7 +936,7 @@ be indented (i.e. a <<- was used rather than just <<)."
(defun sh-font-lock-syntactic-face-function (state)
(if (nth 3 state)
(if (char-valid-p (nth 3 state))
(if (characterp (nth 3 state))
font-lock-string-face
sh-heredoc-face)
font-lock-comment-face))