Skip to content

Commit 6309cae

Browse files
committed
Clarify backward-delete-char-untabify doc string
* lisp/simple.el (backward-delete-char-untabify): Mention the effect of Transient Mark mode (bug#17263).
1 parent 5796e00 commit 6309cae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lisp/simple.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5842,7 +5842,13 @@ Can be `untabify' -- turn a tab to many spaces, then delete one space;
58425842
(defun backward-delete-char-untabify (arg &optional killp)
58435843
"Delete characters backward, changing tabs into spaces.
58445844
The exact behavior depends on `backward-delete-char-untabify-method'.
5845+
58455846
Delete ARG chars, and kill (save in kill ring) if KILLP is non-nil.
5847+
5848+
If Transient Mark mode is enabled, the mark is active, and ARG is 1,
5849+
delete the text in the region and deactivate the mark instead.
5850+
To disable this, set option ‘delete-active-region’ to nil.
5851+
58465852
Interactively, ARG is the prefix arg (default 1)
58475853
and KILLP is t if a prefix arg was specified."
58485854
(interactive "*p\nP")

0 commit comments

Comments
 (0)