[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el, v [EMACS_22_BAS
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el, v [EMACS_22_BASE] |
Date: |
Tue, 08 May 2007 01:35:29 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Stefan Monnier <monnier> 07/05/08 01:35:27
Index: progmodes/python.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/python.el,v
retrieving revision 1.58.2.2
retrieving revision 1.58.2.3
diff -u -b -r1.58.2.2 -r1.58.2.3
--- progmodes/python.el 26 Apr 2007 19:42:21 -0000 1.58.2.2
+++ progmodes/python.el 8 May 2007 01:34:55 -0000 1.58.2.3
@@ -461,7 +461,7 @@
(let ((initial (current-indentation)))
(if (zerop (python-next-statement))
(setq indent (- (current-indentation) initial)))
- (if (and (>= indent 2) (<= indent 8)) ; sanity check
+ (if (and indent (>= indent 2) (<= indent 8)) ; sanity check
(setq done t))))))
(when done
(when (/= indent (default-value 'python-indent))
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el, v [EMACS_22_BASE],
Stefan Monnier <=