summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 7c87c35..42cbffd 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)))
)