From 44e941faa199b90ae9229841f699cc1a3441378f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 11 Aug 2023 14:52:12 +0300 Subject: [PATCH] ; Improve documentation of a recent addition * lisp/simple.el (kill-ring-deindent-buffer-substring-function): Doc fix. --- lisp/simple.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 604ab0541bf..561b1f7fbeb 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -11146,11 +11146,12 @@ seconds." ;; killed text to remove leading indentation. (defun kill-ring-deindent-buffer-substring-function (beg end delete) - "Save the text within BEG and END to the kill ring. -Maybe delete it if DELETE is non-nil. + "Save the text within BEG and END to kill-ring, decreasing indentation. +Delete the saved text if DELETE is non-nil. -Before saving the text, indent it leftwards by the number of -columns at BEG." +In the saved copy of the text, remove some of the indentation, such +that the buffer position at BEG will be at column zero when the text +is yanked." (let ((a beg) (b end)) (setq beg (min a b) -- 2.39.2