summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5dcd532..0262210 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -1592,7 +1592,7 @@ the new line indented."
(/= startpos
(save-excursion
(goto-char (1+ open-bracket-pos))
- (skip-chars-forward " \t\n")
+ (forward-comment (point-max))
(point))))
;; again mimic the first list item
(current-indentation)