el/dot-emacs.el: Explicitly indent with spaces in Python-like modes.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jan 2010 16:59:28 +0000 (16:59 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jan 2010 17:02:11 +0000 (17:02 +0000)
The `python-mode' does this anyway, but if we do it ourselves at the
right time then `whitespace-mode' gets clued in and highlights tabs
(rather than tab-equivalent groups of spaces).

el/dot-emacs.el

index 797c7dc..172d0ad 100644 (file)
@@ -1509,6 +1509,7 @@ strip numbers instead."
 
   ;; Miscellaneous fiddling.
   (mdw-standard-fill-prefix "\\([ \t]*#+[ \t]*\\)")
+  (setq indent-tabs-mode nil)
 
   ;; Now define fontification things.
   (make-local-variable 'font-lock-keywords)