aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2428ecb7555..abce487680a 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1,6 +1,6 @@
1;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- 1;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*-
2 2
3;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 3;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
@@ -2549,7 +2549,6 @@ with skeleton expansions for compound statement templates.
2549 (^ '(- (1+ (current-indentation)))))) 2549 (^ '(- (1+ (current-indentation))))))
2550 ;; Python defines TABs as being 8-char wide. 2550 ;; Python defines TABs as being 8-char wide.
2551 (set (make-local-variable 'tab-width) 8) 2551 (set (make-local-variable 'tab-width) 8)
2552 (unless font-lock-mode (font-lock-mode 1))
2553 (when python-guess-indent (python-guess-indent)) 2552 (when python-guess-indent (python-guess-indent))
2554 ;; Let's make it harder for the user to shoot himself in the foot. 2553 ;; Let's make it harder for the user to shoot himself in the foot.
2555 (unless (= tab-width python-indent) 2554 (unless (= tab-width python-indent)