Commits

Barry Warsaw committed d69954e

(py-electric-colon): use a save-excursion instead of a progn in
indentation calculation test.

Comments (0)

Files changed (1)

Misc/python-mode.el

 	  (indent (py-compute-indentation)))
       (if (and (not arg)
 	       (py-outdent-p)
-	       (= indent (progn
+	       (= indent (save-excursion
 			   (forward-line -1)
 			   (py-compute-indentation)))
 	       )