diff options
| author | Paul Eggert | 2011-01-14 10:14:17 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-14 10:14:17 -0800 |
| commit | 8a1f4a98c1b8e3abaf1b46394a88d09531ce4c2d (patch) | |
| tree | 9aed5489fdfdcf75087bf3d8e50e4f5952c8566c /lisp/progmodes/python.el | |
| parent | 3720fa2b1ac94b8ac9f193264bcf36990a5f43d2 (diff) | |
| parent | f80aa5bfa90dff5cd75d1f40e4ababa3c86af7fb (diff) | |
| download | emacs-8a1f4a98c1b8e3abaf1b46394a88d09531ce4c2d.tar.gz emacs-8a1f4a98c1b8e3abaf1b46394a88d09531ce4c2d.zip | |
Merge from mainline.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
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) |