mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
(py-delete-char): must have 'supersede value for 'delete-selection and
'pedning-delete properties.
This commit is contained in:
parent
1b761a6ef9
commit
fc8a01fc5a
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue