]> git.eshelyaron.com Git - emacs.git/commit
Fix infloop when indenting in cperl-mode
authorHarald Jörg <haj@posteo.de>
Fri, 4 Sep 2020 03:13:43 +0000 (05:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Sep 2020 03:13:43 +0000 (05:13 +0200)
commit70af9a9cb914ffc276eac58b10106f9449f2544c
tree398e7997b12b303880ca741cecf8070a3aff2561
parent74ba8f8421a064f39d9544b7b9a4e400e07f3b86
Fix infloop when indenting in cperl-mode

* lisp/progmodes/cperl-mode.el (cperl-indent-exp): Fix (Bug#10483)
Perl expressions (e.g. function calls) ending in ")" without
statement terminator on the same line no longer loop endlessly.
lisp/progmodes/cperl-mode.el
test/lisp/progmodes/cperl-mode-resources/cperl-indent-exp.pl [new file with mode: 0644]
test/lisp/progmodes/cperl-mode-tests.el