From 6309cae3f2c089fb4a15b5576aecc23e5e25fdb3 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 14 Jul 2021 17:10:24 +0200 Subject: [PATCH] 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 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") -- 2.39.2