comparison lisp/delsel.el @ 18641:9830b54653b7

(delete-selection-mode): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Jul 1997 23:51:30 +0000
parents ff3876f9e299
children 1a455d8dfa7c
comparison
equal deleted inserted replaced
18640:0481616b859c 18641:9830b54653b7
91 (defun delete-selection-mode (arg) 91 (defun delete-selection-mode (arg)
92 "Toggle Delete Selection mode. 92 "Toggle Delete Selection mode.
93 When ON, typed text replaces the selection if the selection is active. 93 When ON, typed text replaces the selection if the selection is active.
94 When OFF, typed text is just inserted at point. 94 When OFF, typed text is just inserted at point.
95 95
96 Delete Selection mode works only when Transient Mark mode is enabled.
97 Use \\[transient-mark-mode] to enable or disable Transient Mark mode.
98
96 A positive argument turns the mode on, negative argument turns it off, 99 A positive argument turns the mode on, negative argument turns it off,
97 and no argument (or nil) toggles the mode." 100 and no argument (or nil) toggles the mode."
98 (interactive "P") 101 (interactive "P")
99 (setq delete-selection-mode 102 (setq delete-selection-mode
100 (if (null arg) (not delete-selection-mode) 103 (if (null arg) (not delete-selection-mode)