]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-font-lock-syntactic-face-function): Use characterp.
authorDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:51:08 +0000 (17:51 +0000)
committerDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:51:08 +0000 (17:51 +0000)
lisp/progmodes/sh-script.el

index 341a0d179e7e6e2d432c50153a00c1c32ed941e4..2d332bae6612aa755e6b1f827230d7fc42606b3c 100644 (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))