diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d05f352ded6..d21137b3080 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2552,7 +2552,6 @@ with skeleton expansions for compound statement templates. | |||
| 2552 | (^ '(- (1+ (current-indentation)))))) | 2552 | (^ '(- (1+ (current-indentation)))))) |
| 2553 | ;; Python defines TABs as being 8-char wide. | 2553 | ;; Python defines TABs as being 8-char wide. |
| 2554 | (set (make-local-variable 'tab-width) 8) | 2554 | (set (make-local-variable 'tab-width) 8) |
| 2555 | (unless font-lock-mode (font-lock-mode 1)) | ||
| 2556 | (when python-guess-indent (python-guess-indent)) | 2555 | (when python-guess-indent (python-guess-indent)) |
| 2557 | ;; Let's make it harder for the user to shoot himself in the foot. | 2556 | ;; Let's make it harder for the user to shoot himself in the foot. |
| 2558 | (unless (= tab-width python-indent) | 2557 | (unless (= tab-width python-indent) |