]> git.eshelyaron.com Git - emacs.git/commit
; cperl-mode.el: Don't misinterpret exec_fcn as keyword exec
authorHarald Jörg <haj@posteo.de>
Sun, 9 Mar 2025 15:26:51 +0000 (16:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 18:46:54 +0000 (19:46 +0100)
commit926b2f4eea11b0504587a03d57449b9fffe2e906
tree978fb9da5685887c995f771c9e3362c00cb001af
parentbab4e35a8ca946fecf4f2648572b1fd0aea76dc2
; cperl-mode.el: Don't misinterpret exec_fcn as keyword exec

* lisp/progmodes/cperl-mode.el
(cperl-after-block-and-statement-beg): Recognize _ as part of a
Perl symbol.  Fixes Bug#76851

* test/lisp/progmodes/cperl-mode-resources/cperl-indents.erts
Two new test cases around the edges of Bug#76851

(cherry picked from commit b2f124f2a8887a3bf2e68ec09500361a2d4d0850)
lisp/progmodes/cperl-mode.el
test/lisp/progmodes/cperl-mode-resources/cperl-indents.erts