]> git.eshelyaron.com Git - emacs.git/commit
perl-mode: fix variable fontification
authorTomasz Konojacki <me@xenu.pl>
Sat, 7 Aug 2021 10:36:22 +0000 (12:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 7 Aug 2021 10:37:47 +0000 (12:37 +0200)
commitc62e805d80fc5d47325ed0ee84a7f3879e85cbd9
treece2db77a2b97cfae6272ffd34b25a7188862049d
parentb8e3b0f157db29aa7cf42783f12f87815547efb6
perl-mode: fix variable fontification

* lisp/progmodes/perl-mode.el: Handle variables first to avoid
conflicting with keywords. This fixes cases like "$package"
(bug#49906).
Copyright-paperwork-exempt: yes
lisp/progmodes/perl-mode.el
test/lisp/progmodes/perl-mode-tests.el