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

whitespace and comment noise.
This commit is contained in:
Barry Warsaw 1998-04-16 20:04:59 +00:00
parent ac36c6403f
commit 77d1fce2f6

View file

@ -1592,7 +1592,7 @@ the new line indented."
(/= startpos (/= startpos
(save-excursion (save-excursion
(goto-char (1+ open-bracket-pos)) (goto-char (1+ open-bracket-pos))
(skip-chars-forward " \t\n") (forward-comment (point-max))
(point)))) (point))))
;; again mimic the first list item ;; again mimic the first list item
(current-indentation) (current-indentation)