summaryrefslogtreecommitdiff
path: root/lisp/delsel.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-03 20:03:04 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-03 20:03:04 +0000
commite51ba7017259025dad86abbe3f4f7720a7528dc0 (patch)
tree29f3d1fd3a2e21b59212ea0363ffa78f8d522fa8 /lisp/delsel.el
parent4d5b8182e9e2b640ea9795d1418b233db2907e11 (diff)
(delete-selection-mode): Doc fix.
Diffstat (limited to 'lisp/delsel.el')
-rw-r--r--lisp/delsel.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el
index b1903985b1..ffd7a3982e 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -91,7 +91,10 @@ insertion commands first delete the region and then insert.")
(defun delete-selection-mode (arg)
"Toggle Delete Selection mode.
When ON, typed text replaces the selection if the selection is active.
-When OFF, typed text is just inserted at point."
+When OFF, typed text is just inserted at point.
+
+A positive argument turns the mode on, negative argument turns it off,
+and no argument (or nil) toggles the mode."
(interactive "P")
(setq delete-selection-mode
(if (null arg) (not delete-selection-mode)