diff options
-rw-r--r-- | Misc/python-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index e139b51..3e24ba3 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -2923,6 +2923,7 @@ I.e., if the line starts with `return', `raise', `break', `continue', and `pass'. This doesn't catch embedded statements." (let ((here (point))) (back-to-indentation) + (py-goto-initial-line) (prog1 (looking-at (concat py-block-closing-keywords-re "\\>")) (goto-char here)))) |