Jarmo Hurri <jarmo.hu...@iki.fi> writes: > Kévin Le Gouguec <kevin.legoug...@gmail.com> writes: > >> Can you tell me whether electric-indent-local-mode works better for >> you? If it does, I'll followup with a patch to ORG-NEWS. > > Seems to be working fine. Thank you very much.
Thanks for the confirmation. Here is a patch for ORG-NEWS, then:
>From e5ed2be19d7ada3a0b6dd16fc220c4414b2af4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= <kevin.legoug...@gmail.com> Date: Mon, 27 Jul 2020 15:00:03 +0200 Subject: [PATCH] Fix recommendation in 9.4 release notes Cf. <https://orgmode.org/list/87pn8huuq2....@iki.fi/t/#m4f86f6baf790e88ab905007757487a1f481cc579>. Reported-by: Jarmo Hurri <jarmo.hu...@iki.fi> * etc/ORG-NEWS (=RET= and =C-j= now obey ~electric-indent-mode~): Recommend disabling electric-indent-local-mode rather than electric-indent-mode, as the latter impacts all buffers rather than just the newly-created Org buffer. --- etc/ORG-NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index bc93f8e4f..1ac7486a7 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -253,7 +253,7 @@ To get the previous behaviour back, disable ~electric-indent-mode~ explicitly: #+begin_src emacs-lisp -(add-hook 'org-mode-hook (lambda () (electric-indent-mode -1))) +(add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1))) #+end_src *** New optional numeric argument for ~org-return~ -- 2.27.0