(perl-font-lock-syntactic-face-function): Use characterp.
authorDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:51:33 +0000 (17:51 +0000)
committerDave Love <fx@gnu.org>
Wed, 10 Sep 2003 17:51:33 +0000 (17:51 +0000)
lisp/progmodes/perl-mode.el

index 7017ac0..4b04403 100644 (file)
@@ -295,7 +295,7 @@ The expansion is entirely correct because it uses the C preprocessor."
      ((not char)
       ;; Comment or docstring.
       (if (nth 7 state) font-lock-doc-face font-lock-comment-face))
-     ((and (char-valid-p char) (eq (char-syntax (nth 3 state)) ?\"))
+     ((and (characterp char) (eq (char-syntax (nth 3 state)) ?\"))
       ;; Normal string.
       font-lock-string-face)
      ((eq (nth 3 state) ?\n)