From: Mark Wooding Date: Mon, 11 Jan 2010 16:59:28 +0000 (+0000) Subject: el/dot-emacs.el: Explicitly indent with spaces in Python-like modes. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/7c0fcfde5a9a0ec538800720ae93b40640ffdfb2?ds=sidebyside el/dot-emacs.el: Explicitly indent with spaces in Python-like modes. 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). --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 797c7dc..172d0ad 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -1509,6 +1509,7 @@ (defun mdw-fontify-pythonic (keywords) ;; Miscellaneous fiddling. (mdw-standard-fill-prefix "\\([ \t]*#+[ \t]*\\)") + (setq indent-tabs-mode nil) ;; Now define fontification things. (make-local-variable 'font-lock-keywords)