From 813f5534f54b5f1a66d1e1ac34600ac7bc4c6129 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 10 Sep 2003 17:51:08 +0000 Subject: [PATCH] (sh-font-lock-syntactic-face-function): Use characterp. --- lisp/progmodes/sh-script.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 341a0d179e7..2d332bae661 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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)) -- 2.39.2