bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50320: 28.0.50; Recent changes cause functions in sh-script-mode to


From: Diego
Subject: bug#50320: 28.0.50; Recent changes cause functions in sh-script-mode to be indented incorrectly
Date: Wed, 01 Sep 2021 04:15:12 +0000

I'm not quite sure when this behavior was introduced, but I suspect commits 
4bb70549 or 6392bc37a may be responsible:

With emacs built from git on commit 03dcceeee if I have a function, say:

myecho () {
    echo "foo"
}

And I call M-x indent-region on it, it gets indented to:

myecho () {
echo "foo"
}

Which I don't think is the correct indentation for functions in shell scripts.

Diego





reply via email to

[Prev in Thread] Current Thread [Next in Thread]