Mercurial > emacs
changeset 89487:b8b6645d8593
(sh-font-lock-syntactic-face-function): Use characterp.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 10 Sep 2003 17:51:08 +0000 |
parents | fd954cd9d770 |
children | 9280279b6356 |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Wed Sep 10 17:50:37 2003 +0000 +++ b/lisp/progmodes/sh-script.el Wed Sep 10 17:51:08 2003 +0000 @@ -936,7 +936,7 @@ (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))