[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fca6264: * lisp/delsel.el (delete-selection-mode):
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master fca6264: * lisp/delsel.el (delete-selection-mode): Doc fix. (Bug#25428) |
Date: |
Sat, 26 Aug 2017 05:02:10 -0400 (EDT) |
branch: master
commit fca62645b6dab55fb39dbef2a09d5044dcf8efc1
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* lisp/delsel.el (delete-selection-mode): Doc fix. (Bug#25428)
---
lisp/delsel.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/lisp/delsel.el b/lisp/delsel.el
index d5f4736..8cb7ade 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -70,9 +70,12 @@ Value must be the register (key) to use.")
;;;###autoload
(define-minor-mode delete-selection-mode
"Toggle Delete Selection mode.
-With a prefix argument ARG, enable Delete Selection mode if ARG
-is positive, and disable it otherwise. If called from Lisp,
-enable the mode if ARG is omitted or nil.
+Interactively, with a prefix argument, enable
+Delete Selection mode if the prefix argument is positive,
+and disable it otherwise. If called from Lisp, toggle
+the mode if ARG is `toggle', disable the mode if ARG is
+a non-positive integer, and enable the mode otherwise
+\(including if ARG is omitted or nil or a positive integer).
When Delete Selection mode is enabled, typed text replaces the selection
if the selection is active. Otherwise, typed text is just inserted at
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fca6264: * lisp/delsel.el (delete-selection-mode): Doc fix. (Bug#25428),
Eli Zaretskii <=