summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/python-mode.el')
-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 5c56e0a..e4b6e67 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -756,7 +756,7 @@ Electric behavior is inhibited inside a string or comment."
(if (and (not arg)
(py-outdent-p)
(= indent (save-excursion
- (forward-line -1)
+ (py-next-statement -1)
(py-compute-indentation)))
)
(setq outdent py-indent-offset))