summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-01-22 16:56:57 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2021-01-22 16:56:57 -0500
commitb9d0cdcacbd3da93b4ebfa10d778efb618881ccc (patch)
treeb64f3e1e9bd26c5d3843714714ac8ef348551385 /test/lisp/emacs-lisp/bytecomp-resources
parentba25a82855a2c03c25fec83f3056c166b692e94f (diff)
downloademacs-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/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions