From a6631eaec3c9eba7fd495b33377574bbe44ba215 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 14 Sep 2024 17:09:48 +0100 Subject: [PATCH] ; * lisp/simple.el (kill-region-dwim): Try to simplify docstring. --- lisp/simple.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 8300fd081b1..ce3fd192c3f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5819,11 +5819,12 @@ move the yanking point; just return the Nth kill forward." (defcustom kill-region-dwim nil "Behavior when `kill-region' is invoked without an active region. -If set to nil (default), then the behavior of `kill-region' will not -change. If set to `emacs-word', then kill the last word as defined by -the current major mode. If set to `unix-word', then kill the last word -in the style of a shell like Bash, disregarding the major mode like with -`unix-word-rubout'." +If set to nil (default), kill the region even if it is inactive, +signalling an error if there is no region. +If set to `emacs-word', kill the last word as defined by the +current major mode. +If set to `unix-word', kill the last word in the style of a shell like +Bash. This ignores the major mode like `unix-word-rubout' (which see)." :type '(choice (const :tag "Kill a word like `backward-kill-word'" emacs-word) (const :tag "Kill a word like Bash would" unix-word) (const :tag "Do not kill anything" nil))