Mercurial > emacs
diff lisp/progmodes/python.el @ 112228:417b1e4d63cd
Merge from emacs-23
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Fri, 14 Jan 2011 12:18:41 -0500 |
| parents | b47e85affa59 02196c405b19 |
| children |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Fri Jan 14 16:06:17 2011 +0100 +++ b/lisp/progmodes/python.el Fri Jan 14 12:18:41 2011 -0500 @@ -1,6 +1,6 @@ ;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- -;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 ;; Free Software Foundation, Inc. ;; Author: Dave Love <fx@gnu.org> @@ -2549,7 +2549,6 @@ (^ '(- (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)
