diff options
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r-- | Misc/python-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index a1ff2c7..128641e 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) |