diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-22 16:56:57 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-22 16:56:57 -0500 |
commit | b9d0cdcacbd3da93b4ebfa10d778efb618881ccc (patch) | |
tree | b64f3e1e9bd26c5d3843714714ac8ef348551385 /test/lisp/emacs-lisp | |
parent | ba25a82855a2c03c25fec83f3056c166b692e94f (diff) | |
download | emacs-b9d0cdcacbd3da93b4ebfa10d778efb618881ccc.tar.gz emacs-b9d0cdcacbd3da93b4ebfa10d778efb618881ccc.tar.bz2 emacs-b9d0cdcacbd3da93b4ebfa10d778efb618881ccc.zip |
* 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.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions