comparison lisp/delsel.el @ 9533:b589ba0d8960

(self-insert-iso): Add delete-selection property.
author Richard M. Stallman <rms@gnu.org>
date Fri, 14 Oct 1994 18:41:41 +0000
parents 902c32c709f7
children ba22258c5916
comparison
equal deleted inserted replaced
9532:e71667634f07 9533:b589ba0d8960
58 (delete-active-region nil)))))) 58 (delete-active-region nil))))))
59 59
60 (add-hook 'pre-command-hook 'delete-selection-pre-hook) 60 (add-hook 'pre-command-hook 'delete-selection-pre-hook)
61 61
62 (put 'self-insert-command 'delete-selection t) 62 (put 'self-insert-command 'delete-selection t)
63 (put 'self-insert-iso 'delete-selection t)
63 64
64 (put 'yank 'delete-selection t) 65 (put 'yank 'delete-selection t)
65 (put 'insert-register 'delete-selection t) 66 (put 'insert-register 'delete-selection t)
66 67
67 (put 'delete-backward-char 'delete-selection 'supersede) 68 (put 'delete-backward-char 'delete-selection 'supersede)