diff Misc/python-mode.el @ 3920:9366164f5c4a legacy-trunk

(py-delete-char): Check for py-honor-comment-indentation.
author Barry Warsaw <barry@python.org>
date Thu, 01 Aug 1996 15:57:48 +0000
parents f487793d6018
children a39d06497520
line wrap: on
line diff
--- a/Misc/python-mode.el	Thu Aug 01 15:53:09 1996 +0000
+++ b/Misc/python-mode.el	Thu Aug 01 15:57:48 1996 +0000
@@ -742,6 +742,7 @@
   (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