From: Barry Warsaw Date: Thu, 9 Mar 1995 16:07:29 +0000 (+0000) Subject: (py-delete-char): must have 'supersede value for 'delete-selection and X-Git-Tag: v1.2b4~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc8a01fc5a2890b24ca044f3d00a5139a13e40b2;p=thirdparty%2FPython%2Fcpython.git (py-delete-char): must have 'supersede value for 'delete-selection and 'pedning-delete properties. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index a1ff2c7df112..128641e1e72f 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -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)