Mercurial > emacs
comparison lisp/delsel.el @ 33185:7630435cbccd
(delete-selection-mode): Drop unneeded positional args.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 03 Nov 2000 22:13:18 +0000 |
parents | 63a2ec6dae39 |
children | 3dbecf5d82d8 |
comparison
equal
deleted
inserted
replaced
33184:8e6b63f3317d | 33185:7630435cbccd |
---|---|
63 | 63 |
64 When Delete Selection mode is enabled, Transient Mark mode is also | 64 When Delete Selection mode is enabled, Transient Mark mode is also |
65 enabled and typed text replaces the selection if the selection is | 65 enabled and typed text replaces the selection if the selection is |
66 active. Otherwise, typed text is just inserted at point regardless of | 66 active. Otherwise, typed text is just inserted at point regardless of |
67 any selection." | 67 any selection." |
68 nil nil nil :global t :group 'editing-basics | 68 :global t :group 'editing-basics |
69 (if (not delete-selection-mode) | 69 (if (not delete-selection-mode) |
70 (remove-hook 'pre-command-hook 'delete-selection-pre-hook) | 70 (remove-hook 'pre-command-hook 'delete-selection-pre-hook) |
71 (add-hook 'pre-command-hook 'delete-selection-pre-hook) | 71 (add-hook 'pre-command-hook 'delete-selection-pre-hook) |
72 (transient-mark-mode t))) | 72 (transient-mark-mode t))) |
73 | 73 |