[Top][All Lists]

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

master 6309cae: Clarify backward-delete-char-untabify doc string

From: Lars Ingebrigtsen
Subject: master 6309cae: Clarify backward-delete-char-untabify doc string
Date: Wed, 14 Jul 2021 11:10:33 -0400 (EDT)

branch: master
commit 6309cae3f2c089fb4a15b5576aecc23e5e25fdb3
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Clarify backward-delete-char-untabify doc string
    * lisp/simple.el (backward-delete-char-untabify): Mention the
    effect of Transient Mark mode (bug#17263).
 lisp/simple.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index f746d73..322693f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5842,7 +5842,13 @@ Can be `untabify' -- turn a tab to many spaces, then 
delete one space;
 (defun backward-delete-char-untabify (arg &optional killp)
   "Delete characters backward, changing tabs into spaces.
 The exact behavior depends on `backward-delete-char-untabify-method'.
 Delete ARG chars, and kill (save in kill ring) if KILLP is non-nil.
+If Transient Mark mode is enabled, the mark is active, and ARG is 1,
+delete the text in the region and deactivate the mark instead.
+To disable this, set option ‘delete-active-region’ to nil.
 Interactively, ARG is the prefix arg (default 1)
 and KILLP is t if a prefix arg was specified."
   (interactive "*p\nP")

reply via email to

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