summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Moreau <nathan.moreau@m4x.org>2019-09-28 01:29:16 +0200
committerGitHub <noreply@github.com>2019-09-28 01:29:16 +0200
commit836a8a978e13547153ac18cfdc45b503de41030d (patch)
tree46794086affa3b8c6435ed6ed34c8413fba545fe
parent86b82ad377c3f51f4d96f67073ecdec6dffdcbee (diff)
downloadrust-mode-836a8a978e13547153ac18cfdc45b503de41030d.tar.gz
Don't set indent-tabs-mode. (#324)
-rw-r--r--rust-mode-tests.el1
-rw-r--r--rust-mode.el1
2 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index b21202a..b13c1ba 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -6,6 +6,7 @@
(require 'imenu)
(setq rust-test-fill-column 32)
+(setq-default indent-tabs-mode nil)
(defun rust-compare-code-after-manip (original point-pos manip-func expected got)
(equal expected got))
diff --git a/rust-mode.el b/rust-mode.el
index f2c4d86..e57a650 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1583,7 +1583,6 @@ Return the created process."
;; Misc
(setq-local comment-start "// ")
(setq-local comment-end "")
- (setq-local indent-tabs-mode nil)
(setq-local open-paren-in-column-0-is-defun-start nil)
;; Auto indent on }