diff options
author | Barry Warsaw <barry@python.org> | 1998-04-16 20:04:59 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-04-16 20:04:59 (GMT) |
commit | 77d1fce2f651e98e68506cc2ce7321bed7036850 (patch) | |
tree | ebe400494ce733ccca2bfe6d6c752cdfa31f739a | |
parent | ac36c6403ff78b5f48c3dde7626806de87cfff0c (diff) | |
download | cpython-77d1fce2f651e98e68506cc2ce7321bed7036850.zip cpython-77d1fce2f651e98e68506cc2ce7321bed7036850.tar.gz cpython-77d1fce2f651e98e68506cc2ce7321bed7036850.tar.bz2 |
(py-compute-indentation): Use forward-comment to skip over all
whitespace and comment noise.
-rw-r--r-- | Misc/python-mode.el | 2 |
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) |