Commit 7a58580c authored by Barry Warsaw's avatar Barry Warsaw

(py-compute-indentation): Use forward-comment to skip over all

whitespace and comment noise.
parent e995c0e0
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment