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:
parent
9d4f2649d6
commit
813f5534f5
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user