summaryrefslogtreecommitdiff
path: root/docs/transient.org
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2026-02-27 14:43:46 +0100
committerJonas Bernoulli <jonas@bernoul.li>2026-02-27 14:43:46 +0100
commit6e7c07a7f6363195707b2eee478fc4626211d5d7 (patch)
treefad1a8a48fe7bb0812c05fac61b617af4b07dce4 /docs/transient.org
parentba63dd4a6c38a431bacdf89609f2268527362f07 (diff)
manual: Update some FAQ
Diffstat (limited to 'docs/transient.org')
-rw-r--r--docs/transient.org27
1 files changed, 12 insertions, 15 deletions
diff --git a/docs/transient.org b/docs/transient.org
index be5332b..1916ce6 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -2844,20 +2844,17 @@ by passing ~:display-action~ to ~transient-define-prefix~.
:UNNUMBERED: notoc
:END:
-To be able to mark text in Transient's menu buffer using the mouse,
-you have to add the below binding. Note that for technical reasons,
-the region won't be visualized, while doing so. After you have quit
-the transient menu, you will be able to yank it in another buffer.
+You can select text in the menu buffer using the mouse, like in most
+other buffers, by clicking ~mouse-1~ and keeping it pressed while
+dragging.
-#+begin_src emacs-lisp
- (keymap-set transient-predicate-map
- "<mouse-set-region>"
- #'transient--do-stay)
-#+end_src
+(Before v0.13.0, the above required additional configuration and the
+region was not visualized while dragging. This isn't the case anymore,
+but explains why the following was once deemed necessary.)
-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~.
+Alternatively the command ~transient-copy-menu-text~ can be used to copy
+the complete content of the menu buffer. 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)
@@ -2869,9 +2866,9 @@ add a binding for this command in ~transient-map~.
:END:
If your package only supports Emacs 30, just prefix the definition
-with ~;;;###autoload~. If your package supports released versions of
-Emacs, you unfortunately have to use a long form autoload comment
-as described in [[info:elisp#Autoload]].
+with ~;;;###autoload~. If your package supports older Emacs releases,
+you unfortunately have to use a long-form autoload comment as
+described in [[info:elisp#Autoload]].
#+begin_src emacs-lisp
;;;###autoload (autoload 'magit-dispatch "magit" nil t)