(py-delete-char): Check for py-honor-comment-indentation.
This commit is contained in:
parent
a7891718e1
commit
6e527d2ca3
|
@ -742,6 +742,7 @@ argument delets that many characters."
|
||||||
(if (or (/= (current-indentation) (current-column))
|
(if (or (/= (current-indentation) (current-column))
|
||||||
(bolp)
|
(bolp)
|
||||||
(py-continuation-line-p)
|
(py-continuation-line-p)
|
||||||
|
(not py-honor-comment-indentation)
|
||||||
(looking-at "#[^ \t\n]")) ; non-indenting #
|
(looking-at "#[^ \t\n]")) ; non-indenting #
|
||||||
(backward-delete-char-untabify count)
|
(backward-delete-char-untabify count)
|
||||||
;; else indent the same as the colon line that opened the block
|
;; else indent the same as the colon line that opened the block
|
||||||
|
|
Loading…
Reference in New Issue