]> git.eshelyaron.com Git - emacs.git/commitdiff
; cperl-mode.el: Fix one match-count in my commit 2021-09-14
authorHarald Jörg <haj@posteo.de>
Wed, 3 Nov 2021 14:04:10 +0000 (15:04 +0100)
committerHarald Jörg <haj@posteo.de>
Thu, 20 Oct 2022 19:00:34 +0000 (21:00 +0200)
* lisp/progmodes/cperl-mode.el (cperl-init-faces): Matching group needs
to be adjusted according to the regexp change in my previous commit

(cherry picked from commit a25e91593d48a541b5940a2ed707ddfaef5c953f)

lisp/progmodes/cperl-mode.el

index eaedf987c5eef1398d3b2ac1d4c0086136673208..7d121cbf946b57dcf4a9158c64f5d80994b9a249 100644 (file)
@@ -5946,7 +5946,7 @@ default function."
                                         (eval cperl--basic-identifier-rx)))
                    (0+ blank) "(")
 ;;         '("\\<for\\(each\\)?\\([ \t]+\\(state\\|my\\|local\\|our\\)\\)?[ \t]*\\(\\$[a-zA-Z_][a-zA-Z_0-9]*\\)[ \t]*("
-             4 font-lock-variable-name-face)
+             1 font-lock-variable-name-face)
            ;; Avoid $!, and s!!, qq!! etc. when not fontifying syntactically
            '("\\(?:^\\|[^smywqrx$]\\)\\(!\\)" 1 font-lock-negation-char-face)
            '("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)))