commit | 77d1fce2f651e98e68506cc2ce7321bed7036850 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Apr 16 20:04:59 1998 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Apr 16 20:04:59 1998 +0000 |
tree | ebe400494ce733ccca2bfe6d6c752cdfa31f739a | |
parent | ac36c6403ff78b5f48c3dde7626806de87cfff0c [diff] [blame] |
(py-compute-indentation): Use forward-comment to skip over all whitespace and comment noise.
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 @@ (/= 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)