mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 23:10:28 -08:00
* lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Indent foo:bar() in lists correctly (bug#57829).
26 lines
240 B
Text
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(),
|
|
"";
|
|
}
|
|
=-=-=
|