summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-11 19:47:37 +0100
committerBastien <bzg@gnu.org>2020-12-12 18:30:59 +0100
commit8fde9fc9054b370f9e8241205892d569f19fd66a (patch)
tree39d44f381332941e30d2ab040ef346d3013b052c
parent7ce1a666d873bbb43d0c716629230220830f3019 (diff)
downloadorg-mode-8fde9fc9054b370f9e8241205892d569f19fd66a.tar.gz
Offer alternative to disabling electric-indent-moderelease_9.4.1
* etc/ORG-NEWS (=RET= and =C-j= now obey ~electric-indent-mode~): Mention alternative values for org-adapt-indentation.
-rw-r--r--etc/ORG-NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 0ed626f..b8c6e9d 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -234,6 +234,10 @@ explicitly:
(add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
#+end_src
+Alternatively, if you wish to keep =RET= as the "smart-return" key,
+but dislike Org's default indentation of sections, you may prefer to
+customize ~org-adapt-indentation~ to either =nil= or ='headline-data=.
+
*** =ob-C.el= allows the inclusion of non-system header files
In C and C++ blocks, ~:includes~ arguments that do not start with a