aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-08-26 12:01:24 +0300
committerEli Zaretskii2017-08-26 12:01:24 +0300
commitfca62645b6dab55fb39dbef2a09d5044dcf8efc1 (patch)
tree7f8acd319fb8db904515bd8ba68e23f922b6e50f
parent21a9e5253e5d436cbe0d3f5571521641008a47b0 (diff)
downloademacs-fca62645b6dab55fb39dbef2a09d5044dcf8efc1.tar.gz
emacs-fca62645b6dab55fb39dbef2a09d5044dcf8efc1.zip
* lisp/delsel.el (delete-selection-mode): Doc fix. (Bug#25428)
-rw-r--r--lisp/delsel.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el
index d5f4736fddb..8cb7adeaa3f 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -70,9 +70,12 @@ Value must be the register (key) to use.")
70;;;###autoload 70;;;###autoload
71(define-minor-mode delete-selection-mode 71(define-minor-mode delete-selection-mode
72 "Toggle Delete Selection mode. 72 "Toggle Delete Selection mode.
73With a prefix argument ARG, enable Delete Selection mode if ARG 73Interactively, with a prefix argument, enable
74is positive, and disable it otherwise. If called from Lisp, 74Delete Selection mode if the prefix argument is positive,
75enable the mode if ARG is omitted or nil. 75and disable it otherwise. If called from Lisp, toggle
76the mode if ARG is `toggle', disable the mode if ARG is
77a non-positive integer, and enable the mode otherwise
78\(including if ARG is omitted or nil or a positive integer).
76 79
77When Delete Selection mode is enabled, typed text replaces the selection 80When Delete Selection mode is enabled, typed text replaces the selection
78if the selection is active. Otherwise, typed text is just inserted at 81if the selection is active. Otherwise, typed text is just inserted at