branch: elpa/rust-mode
commit 836a8a978e13547153ac18cfdc45b503de41030d
Author: Nathan Moreau <[email protected]>
Commit: GitHub <[email protected]>

    Don't set indent-tabs-mode. (#324)
---
 rust-mode-tests.el | 1 +
 rust-mode.el       | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

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 }

Reply via email to