diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 7c87c35a767..42cbffd402e 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -431,7 +431,7 @@ argument is provided, that many colons are inserted non-electrically." (indent (py-compute-indentation))) (if (and (not arg) (py-outdent-p) - (= indent (progn + (= indent (save-excursion (forward-line -1) (py-compute-indentation))) )