diff options
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 1e21d10cdc1..d08af6e8531 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -954,7 +954,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)) |