]> 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>
Wed, 3 Nov 2021 14:12:39 +0000 (15:12 +0100)
* lisp/progmodes/cperl-mode.el (cperl-init-faces): Matching group needs
to be adjusted according to the regexp change in my previous commit

lisp/progmodes/cperl-mode.el

index 1afeb60ac5fcf94b1afe4d29fcf362538186ad2d..a23505a9d3b5bffe0994f64d34f23106975c2240 100644 (file)
@@ -5951,7 +5951,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)))