chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0e58a7c
)
el/dot-emacs.el: Explicitly indent with spaces in Python-like modes.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 11 Jan 2010 16:59:28 +0000
(16:59 +0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 797c7dc05ed9fa72baae54e4b1924db11b057ae7..172d0ad05f28d71dc16595eb1ff50ec1caefcce3 100644
(file)
--- 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)