(python-open-block-statement-p): Fix
indentation after a block opening that contains a comment.
This commit is contained in:
parent
7c226e4010
commit
cebe0988ca
1 changed files with 2 additions and 1 deletions
|
@ -323,7 +323,8 @@ BOS non-nil means point is known to be at beginning of statement."
|
|||
line-end))
|
||||
(save-excursion (python-end-of-statement))
|
||||
t)
|
||||
(not (python-in-string/comment)))))
|
||||
(not (progn (goto-char (match-beginning 0))
|
||||
(python-in-string/comment))))))
|
||||
|
||||
(defun python-close-block-statement-p (&optional bos)
|
||||
"Return non-nil if current line is a statement closing a block.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue