mirror of https://github.com/python/cpython.git
(py-compute-indentation): Use forward-comment to skip over all
whitespace and comment noise.
This commit is contained in:
parent
ac36c6403f
commit
77d1fce2f6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue