summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-06-06 23:07:38 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-06-06 23:07:38 +0200
commit13daf473d5080b91bc37f40e0f3b566738707914 (patch)
tree2c8fce5e01794125620dc8ec5f77f743dff89e35 /docs
parent4d79d8d661c14463992d0adca4b530e94297297f (diff)
manual: Mention transient-copy-menu-text in relevant FAQ
Diffstat (limited to 'docs')
-rw-r--r--docs/transient.org8
-rw-r--r--docs/transient.texi8
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/transient.org b/docs/transient.org
index 7280b64..cb23786 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 0599c4e..0aca6e0 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?