diff options
| author | Dave Love | 2001-01-03 00:19:28 +0000 |
|---|---|---|
| committer | Dave Love | 2001-01-03 00:19:28 +0000 |
| commit | ac6857fb16470ac1f72253b957768ddebfb066ec (patch) | |
| tree | 7032bec32beec3a14aa2a806c8bc18236c8fef03 | |
| parent | 67ecad4e099fc12553eba93480c5160de890e4b3 (diff) | |
| download | emacs-ac6857fb16470ac1f72253b957768ddebfb066ec.tar.gz emacs-ac6857fb16470ac1f72253b957768ddebfb066ec.zip | |
(cperl-invalid-face): Don't double-quote
value.
(cperl-init-faces): Allow cperl-invalid-face to be a normal face.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 9c88cdde6c1..d8c6c8f32d1 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -363,9 +363,10 @@ Font for POD headers." | |||
| 363 | :type 'face | 363 | :type 'face |
| 364 | :group 'cperl-faces) | 364 | :group 'cperl-faces) |
| 365 | 365 | ||
| 366 | (defcustom cperl-invalid-face ''underline | 366 | (defcustom cperl-invalid-face 'underline |
| 367 | "*Face for highlighting trailing whitespace." | 367 | "*Face for highlighting trailing whitespace." |
| 368 | :type 'face | 368 | :type 'face |
| 369 | :version "21.1" | ||
| 369 | :group 'cperl-faces) | 370 | :group 'cperl-faces) |
| 370 | 371 | ||
| 371 | (defcustom cperl-pod-here-fontify '(featurep 'font-lock) | 372 | (defcustom cperl-pod-here-fontify '(featurep 'font-lock) |
| @@ -4341,7 +4342,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4341 | (setq | 4342 | (setq |
| 4342 | t-font-lock-keywords | 4343 | t-font-lock-keywords |
| 4343 | (list | 4344 | (list |
| 4344 | (list "[ \t]+$" 0 'cperl-invalid-face t) | 4345 | `("[ \t]+$" 0 ',cperl-invalid-face t) |
| 4345 | (cons | 4346 | (cons |
| 4346 | (concat | 4347 | (concat |
| 4347 | "\\(^\\|[^$@%&\\]\\)\\<\\(" | 4348 | "\\(^\\|[^$@%&\\]\\)\\<\\(" |