Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lisp/simple.el (newline-and-indent): Disable
electric-indent-mode
With `electric-indent-mode` enabled, `newline-and-indent` ends up indenting 3 times: once for the original line and twice on the new line. `reindent-then-newline-and-indent` is even worse, indenting twice both lines. None of those commands should be affected by `electric-indent-mode` since they even explicitly say in their name when and how they do indentation. (reindent-then-newline-and-indent): Temporarily disable `electric-indent-mode` as well.
- Loading branch information