mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
(py-delete-char): must have 'supersede value for 'delete-selection and
'pedning-delete properties.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user