Subject: bug#20557: 24.4; electric-indent global mode is a regression

From: Glenn Morris <[email-masked]>
Date: Tue, 12 May 2015 12:23:05 -0400

Jerome L Quinn wrote:

>> Perhaps you have edited a csh script; http://debbugs.gnu.org/19433
>> What does C-h v indent-line-function  say?
>
> I created a fundamental mode buffer:
>
> indent-line-function is a variable defined in `indent.el'.
> Its value is sh-basic-indent-line

Yes, that's http://debbugs.gnu.org/19433 .

If you upgrade to Emacs 24.5, it should be fixed.