From fc8a01fc5a2890b24ca044f3d00a5139a13e40b2 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 9 Mar 1995 16:07:29 +0000 Subject: [PATCH] (py-delete-char): must have 'supersede value for 'delete-selection and 'pedning-delete properties. --- Misc/python-mode.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index a1ff2c7df11..128641e1e72 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)