]> granicus.if.org Git - python/commitdiff
(py-delete-char): Check for py-honor-comment-indentation.
authorBarry Warsaw <barry@python.org>
Thu, 1 Aug 1996 15:57:48 +0000 (15:57 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 1 Aug 1996 15:57:48 +0000 (15:57 +0000)
Misc/python-mode.el

index cf5f4d668f080356be2cbd18707c222a88bd3955..281129566776f6a68d6db7fd0936b4d761203327 100644 (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