branch: externals/transient commit 13daf473d5080b91bc37f40e0f3b566738707914 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
manual: Mention transient-copy-menu-text in relevant FAQ --- docs/transient.org | 8 ++++++++ docs/transient.texi | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/transient.org b/docs/transient.org index 7280b64819..cb237867c0 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -2696,6 +2696,14 @@ the transient menu, you will be able to yank it in another buffer. #'transient--do-stay) #+end_src +Copying the region while not seeing the region is a bit fiddly, so a +dedicated command, ~transient-copy-menu-text~, was added. You have to +add a binding for this command in ~transient-map~. + +#+begin_src emacs-lisp + (keymap-set transient-map "C-c C-w" #'transient-copy-menu-text) +#+end_src + ** How can I autoload prefix and suffix commands? :PROPERTIES: :UNNUMBERED: notoc diff --git a/docs/transient.texi b/docs/transient.texi index 0599c4e0ff..0aca6e0841 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -3026,6 +3026,14 @@ the transient menu, you will be able to yank it in another buffer. #'transient--do-stay) @end lisp +Copying the region while not seeing the region is a bit fiddly, so a +dedicated command, @code{transient-copy-menu-text}, was added. You have to +add a binding for this command in @code{transient-map}. + +@lisp +(keymap-set transient-map "C-c C-w" #'transient-copy-menu-text) +@end lisp + @anchor{How can I autoload prefix and suffix commands?} @appendixsec How can I autoload prefix and suffix commands?