Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e527d2

Browse files
committed
(py-delete-char): Check for py-honor-comment-indentation.
1 parent a789171 commit 6e527d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Misc/python-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ argument delets that many characters."
742742
(if (or (/= (current-indentation) (current-column))
743743
(bolp)
744744
(py-continuation-line-p)
745+
(not py-honor-comment-indentation)
745746
(looking-at "#[^ \t\n]")) ; non-indenting #
746747
(backward-delete-char-untabify count)
747748
;; else indent the same as the colon line that opened the block

0 commit comments

Comments
 (0)