(py-delete-char): Check for py-honor-comment-indentation.

This commit is contained in:
Barry Warsaw 1996-08-01 15:57:48 +00:00
parent a7891718e1
commit 6e527d2ca3
1 changed files with 1 additions and 0 deletions

View File

@ -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