Commit cebe0988 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(python-open-block-statement-p): Fix

indentation after a block opening that contains a comment.
parent 7c226e40
......@@ -323,7 +323,8 @@ BOS non-nil means point is known to be at beginning of statement."
(save-excursion (python-end-of-statement))
(not (python-in-string/comment)))))
(not (progn (goto-char (match-beginning 0))
(defun python-close-block-statement-p (&optional bos)
"Return non-nil if current line is a statement closing a block.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment