Mercurial > emacs
changeset 35013:587807c5e8e6
(cperl-invalid-face): Don't double-quote
value.
(cperl-init-faces): Allow cperl-invalid-face to be a normal face.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 03 Jan 2001 00:19:28 +0000 |
parents | 444b43c38978 |
children | 5fe2c51ebfeb |
files | lisp/progmodes/cperl-mode.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el Wed Jan 03 00:18:53 2001 +0000 +++ b/lisp/progmodes/cperl-mode.el Wed Jan 03 00:19:28 2001 +0000 @@ -363,9 +363,10 @@ :type 'face :group 'cperl-faces) -(defcustom cperl-invalid-face ''underline +(defcustom cperl-invalid-face 'underline "*Face for highlighting trailing whitespace." :type 'face + :version "21.1" :group 'cperl-faces) (defcustom cperl-pod-here-fontify '(featurep 'font-lock) @@ -4341,7 +4342,7 @@ (setq t-font-lock-keywords (list - (list "[ \t]+$" 0 'cperl-invalid-face t) + `("[ \t]+$" 0 ',cperl-invalid-face t) (cons (concat "\\(^\\|[^$@%&\\]\\)\\<\\("