mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
(py-delete-char): Check for py-honor-comment-indentation.
This commit is contained in:
parent
a7891718e1
commit
6e527d2ca3
1 changed files with 1 additions and 0 deletions
|
@ -742,6 +742,7 @@ argument delets that many characters."
|
|||
(if (or (/= (current-indentation) (current-column))
|
||||
(bolp)
|
||||
(py-continuation-line-p)
|
||||
(not py-honor-comment-indentation)
|
||||
(looking-at "#[^ \t\n]")) ; non-indenting #
|
||||
(backward-delete-char-untabify count)
|
||||
;; else indent the same as the colon line that opened the block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue