gn-mode: Clear indent-tabs-mode GN does not allow tabs, so the mode should always set indent-tabs-mode to nil (off), regardless of the user's global setting. R=erg@chromium.org BUG= Review URL: https://codereview.chromium.org/1341943002 Cr-Original-Commit-Position: refs/heads/master@{#348753} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: dfba3a3b99597d2c7f9ce0f3c7021f03a6afc300
diff --git a/tools/gn/misc/emacs/gn-mode.el b/tools/gn/misc/emacs/gn-mode.el index c7ee08b..14bcd93 100644 --- a/tools/gn/misc/emacs/gn-mode.el +++ b/tools/gn/misc/emacs/gn-mode.el
@@ -132,6 +132,7 @@ (setq-local comment-use-syntax t) (setq-local comment-start "#") (setq-local comment-end "") + (setq-local indent-tabs-mode nil) (setq-local fill-paragraph-function 'gn-fill-paragraph)