Commit 364df1cc authored by Stefan Monnier's avatar Stefan Monnier

* progmodes/python.el (python-mode): Don't impose font-lock.

Fixes: debbugs:3628
parent b218c6cd
2011-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
* files.el (file-local-variables-alist):
......
......@@ -2552,7 +2552,6 @@ with skeleton expansions for compound statement templates.
(^ '(- (1+ (current-indentation))))))
;; Python defines TABs as being 8-char wide.
(set (make-local-variable 'tab-width) 8)
(unless font-lock-mode (font-lock-mode 1))
(when python-guess-indent (python-guess-indent))
;; Let's make it harder for the user to shoot himself in the foot.
(unless (= tab-width python-indent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment