Function: transient-read-string-from-buffer
transient-read-string-from-buffer is a byte-compiled function defined
in transient.el.
Signature
(transient-read-string-from-buffer PROMPT VALUE _)
Documentation
Switch to a new buffer to edit STRING in a recursive edit.
Like read-string-from-buffer but accept an additional argument as
provided by transient-infix-read (but ignore it). Only available
when using Emacs 29.1 or greater.
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(static-if (fboundp 'string-edit) ; since Emacs 29.1
(defun transient-read-string-from-buffer (prompt value _)
"Switch to a new buffer to edit STRING in a recursive edit.
Like `read-string-from-buffer' but accept an additional argument as
provided by `transient-infix-read' (but ignore it). Only available
when using Emacs 29.1 or greater."
(string-edit prompt (or value "")
(lambda (edited)
(setq value edited)
(exit-recursive-edit))
:abort-callback #'exit-recursive-edit)
(recursive-edit)
value))