emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 41a543b94e 2/2: Merge pull request #440 from Chr


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 41a543b94e 2/2: Merge pull request #440 from Chris00/electric-indent
Date: Wed, 2 Feb 2022 11:58:33 -0500 (EST)

branch: elpa/rust-mode
commit 41a543b94ee4cbe13619c924e59d7388d3d94aa5
Merge: 2da2e7f08a abfb3196cb
Author: brotzeit <brotzeitmacher@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #440 from Chris00/electric-indent
    
    Mention how to turn off `electric-indent-mode`
---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index aeeb987a1b..1e841dac89 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,12 @@ which forces indentation to always use spaces.
           (lambda () (setq indent-tabs-mode nil)))
 ```
 
+Since Emacs ≥ 24.4, [`electric-indent-mode`][] is turned on by
+default. If you do not like it, call `(electric-indent-mode 0)` in
+`rust-mode-hook`.
+
+[`electric-indent-mode`]: 
https://www.gnu.org/software/emacs/manual/html_node/emacs/Indent-Convenience.html
+
 ### Code formatting
 
 The `rust-format-buffer` function will format your code with



reply via email to

[Prev in Thread] Current Thread [Next in Thread]