diff options
author | Barry Warsaw <barry@python.org> | 1996-08-01 15:57:48 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1996-08-01 15:57:48 (GMT) |
commit | 6e527d2ca3450e54bcc4f08c06705dfe258f37e1 (patch) | |
tree | c74f633a3740b0854d3e93cf884e0402bbc7452e | |
parent | a7891718e1293dc9afa1dacb77a59f1895611f75 (diff) | |
download | cpython-6e527d2ca3450e54bcc4f08c06705dfe258f37e1.zip cpython-6e527d2ca3450e54bcc4f08c06705dfe258f37e1.tar.gz cpython-6e527d2ca3450e54bcc4f08c06705dfe258f37e1.tar.bz2 |
(py-delete-char): Check for py-honor-comment-indentation.
-rw-r--r-- | Misc/python-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index cf5f4d6..2811295 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -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 |