summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode-old.el
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/python-mode-old.el')
-rw-r--r--Misc/python-mode-old.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/Misc/python-mode-old.el b/Misc/python-mode-old.el
index ae06251..04fbc07 100644
--- a/Misc/python-mode-old.el
+++ b/Misc/python-mode-old.el
@@ -522,8 +522,7 @@ the new line indented."
(if nest
(save-excursion
(goto-char nest)
- (beginning-of-line)
- (1+ (- nest (point))))
+ (1+ (current-column)))
(forward-line -1)
(if (py-continuation-line-p) ; on at least 3rd line in block
(current-indentation) ; so just continue the pattern