emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 75b68c3: Improve to selsel doc strings


From: Lars Ingebrigtsen
Subject: master 75b68c3: Improve to selsel doc strings
Date: Sat, 19 Jun 2021 08:28:11 -0400 (EDT)

branch: master
commit 75b68c322716068466ea7b42bc5ff9aea77e3311
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Improve to selsel doc strings
    
    * lisp/delsel.el (delete-active-region): Document interactive behavior.
    * lisp/delsel.el (delete-selection-repeat-replace-region):
    Use "\\[universal-argument]" instead of literal "C-u" in docstring.
---
 lisp/delsel.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/delsel.el b/lisp/delsel.el
index 96a9dcc..3c99dd2 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -87,7 +87,8 @@ information on adapting behavior of commands in Delete 
Selection mode."
 ;;;###autoload
 (defun delete-active-region (&optional killp)
   "Delete the active region.
-If KILLP in not-nil, the active region is killed instead of deleted."
+If KILLP is non-nil, or if called interactively with a prefix argument,
+the active region is killed instead of deleted."
   (interactive "P")
   (cond
    (killp
@@ -107,7 +108,7 @@ If KILLP in not-nil, the active region is killed instead of 
deleted."
   "Repeat replacing text of highlighted region with typed text.
 Search for the next stretch of text identical to the region last replaced
 by typing text over it and replaces it with the same stretch of text.
-With ARG, repeat that many times.  `C-u' means until end of buffer."
+With ARG, repeat that many times.  `\\[universal-argument]' means until end of 
buffer."
   (interactive "P")
   (let ((old-text (and delete-selection-save-to-register
                        (get-register delete-selection-save-to-register)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]