From 77d1fce2f651e98e68506cc2ce7321bed7036850 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 16 Apr 1998 20:04:59 +0000 Subject: [PATCH] (py-compute-indentation): Use forward-comment to skip over all whitespace and comment noise. --- Misc/python-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 5dcd53285c1..02622106706 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)