]> git.eshelyaron.com Git - emacs.git/commit
; cperl-mode.el: prevent Emacs from "freezing" (Bug#70948)
authorHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 20:22:37 +0000 (22:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:51:45 +0000 (20:51 +0200)
commit0ea58f87f45873b57e723bd9c6051c24ffa805f2
tree7bae1d2d0523e2085b6e5a5f2ae5544489c28618
parent3e030f81649df3476b251cd50c5e3e78abf7bc79
; cperl-mode.el: prevent Emacs from "freezing" (Bug#70948)

* cperl-mode.el (defconst): Replace the rx expression for
`cperl--basic-identifier-rx' with its actual macro expansion.
This makes it efficient under Emacs 29.3, where the expansion
by rx.el could make Emacs freeze with a crafted Perl source
(Bug#70948).

(cherry picked from commit 54a7268763138fdc63bf81feca99013b01337872)
lisp/progmodes/cperl-mode.el