From: Lars Ingebrigtsen Date: Wed, 14 Jul 2021 15:10:24 +0000 (+0200) Subject: Clarify backward-delete-char-untabify doc string X-Git-Tag: emacs-28.0.90~1869 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6309cae3f2c089fb4a15b5576aecc23e5e25fdb3;p=emacs.git Clarify backward-delete-char-untabify doc string * lisp/simple.el (backward-delete-char-untabify): Mention the effect of Transient Mark mode (bug#17263). --- diff --git a/lisp/simple.el b/lisp/simple.el index f746d738a62..322693f631a 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")