aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoão Távora2019-05-15 13:10:22 +0100
committerJoão Távora2019-07-02 16:10:45 +0100
commit5e88b50d542b6d1c4ff43f8ae0fabe8a647d842e (patch)
tree46c5c7e22127d8e6aad017f925514a0fb62c19ca /src
parent2a2a1bdb8f0f149aaf736a61685feec9380be1b1 (diff)
downloademacs-5e88b50d542b6d1c4ff43f8ae0fabe8a647d842e.tar.gz
emacs-5e88b50d542b6d1c4ff43f8ae0fabe8a647d842e.zip
Correctly reindent previous line in electric-indent-mode
Fixes: bug#35254 Do this even when electric-indent-inhibit is t, except when the newline insertion is being performed by electric-layout-mode. * lisp/electric.el (electric-indent-post-self-insert-function): Reindent previous line unless operating under electric-layout-mode. (electric-layout-post-self-insert-function-1): Bind electric-indent-inhibit to 'electric-layout-mode. * test/lisp/electric-tests.el (electric-layout-control-reindentation): New test.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions