; cperl-mode.el: Fix an invalid face specification

* lisp/progmodes/cperl-mode.el (cperl-method-call): Avoid doubly
quoting the parent face.  This made htmlize-buffer fail.
This commit is contained in:
Harald Jörg 2024-09-26 15:20:01 +02:00
parent f5cd5585f4
commit 53c887fdf6

View file

@ -6225,7 +6225,7 @@ default function."
(t (funcall (default-value 'font-lock-syntactic-face-function) state)))) (t (funcall (default-value 'font-lock-syntactic-face-function) state))))
(defface cperl-method-call (defface cperl-method-call
'((t (:inherit 'default ))) '((t (:inherit default )))
"Font Lock mode face for method calls. "Font Lock mode face for method calls.
Usually, method calls are not fontified. Usually, method calls are not fontified.
We use this face to prevent calls to methods which look like We use this face to prevent calls to methods which look like