summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/python-mode.el1
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