1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-07 23:10:28 -08:00
emacs/test/lisp/progmodes/cperl-mode-resources/cperl-indents.erts
Lars Ingebrigtsen 711f908f5d Fix cperl list indentation problem
* lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Indent
foo:bar() in lists correctly (bug#57829).
2022-09-16 13:06:23 +02:00

26 lines
240 B
Text

Code:
(lambda ()
(cperl-mode)
(indent-region (point-min) (point-max)))
Name: cperl-indent1
=-=
{
print "",
"",
foo::bar(),
"";
}
=-=-=
Name: cperl-indents1
=-=
{
print "",
"",
foobar(),
"";
}
=-=-=