Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 2513:56e25114d438 legacy-trunk
(py-delete-char): must have 'supersede value for 'delete-selection and
'pedning-delete properties.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 09 Mar 1995 16:07:29 +0000 |
| parents | c221957a626d |
| children | 6001448fab89 |
line wrap: on
line diff
--- a/Misc/python-mode.el Thu Mar 09 14:45:40 1995 +0000 +++ b/Misc/python-mode.el Thu Mar 09 16:07:29 1995 +0000 @@ -590,6 +590,10 @@ (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)
