aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-03 20:03:04 +0000
committerRichard M. Stallman1997-07-03 20:03:04 +0000
commite51ba7017259025dad86abbe3f4f7720a7528dc0 (patch)
tree29f3d1fd3a2e21b59212ea0363ffa78f8d522fa8
parent4d5b8182e9e2b640ea9795d1418b233db2907e11 (diff)
downloademacs-e51ba7017259025dad86abbe3f4f7720a7528dc0.tar.gz
emacs-e51ba7017259025dad86abbe3f4f7720a7528dc0.zip
(delete-selection-mode): Doc fix.
-rw-r--r--lisp/delsel.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el
index b1903985b1a..ffd7a3982ec 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -91,7 +91,10 @@ insertion commands first delete the region and then insert.")
91(defun delete-selection-mode (arg) 91(defun delete-selection-mode (arg)
92 "Toggle Delete Selection mode. 92 "Toggle Delete Selection mode.
93When ON, typed text replaces the selection if the selection is active. 93When ON, typed text replaces the selection if the selection is active.
94When OFF, typed text is just inserted at point." 94When OFF, typed text is just inserted at point.
95
96A positive argument turns the mode on, negative argument turns it off,
97and no argument (or nil) toggles the mode."
95 (interactive "P") 98 (interactive "P")
96 (setq delete-selection-mode 99 (setq delete-selection-mode
97 (if (null arg) (not delete-selection-mode) 100 (if (null arg) (not delete-selection-mode)