(py-delete-char): must have 'supersede value for 'delete-selection and

'pedning-delete properties.
This commit is contained in:
Barry Warsaw 1995-03-09 16:07:29 +00:00
parent 1b761a6ef9
commit fc8a01fc5a

View file

@ -590,6 +590,10 @@ needed so that only a single column position is deleted."
(if base-found-p
(message "Closes block: %s" base-text)))))
;; required for pending-del and delsel modes
(put 'py-delete-char 'delete-selection 'supersede)
(put 'py-delete-char 'pending-delete 'supersede)
(defun py-indent-line ()
"Fix the indentation of the current line according to Python rules."
(interactive)