From 8f3e0ed2b99b9b2ad42693cab2b3c0c291e3c3d0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 20 May 2022 02:09:43 +0200 Subject: [PATCH] Clarify yank-transform-functions doc string * lisp/simple.el (yank-transform-functions): Clarify calling convention. --- lisp/simple.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index bed72457c3a..66e1b94f0f5 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5932,7 +5932,11 @@ See also `yank-handled-properties'." "List of functions to run on strings to be yanked. Each function in this list will be called (in order) with the string to be yanked as the sole argument, and should return the (possibly) - transformed string." +transformed string. + +The functions will be called from the buffer the string will be +inserted, and with point at the place where the string is to be +inserted." :type '(repeat function) :version "29.1" :group 'killing) -- 2.39.2