branch: externals/listen
commit 7a126a04d04dabba95acb163142077f0cbc9cad0
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>

    Fix: Autoloads
    
    See <https://github.com/magit/transient/issues/280>.
    
    Suggested-by: Jonas Bernoulli <[email protected]>
---
 README.org      | 1 +
 docs/README.org | 1 +
 listen.el       | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 23ba29cebe..3a07e3b59d 100644
--- a/README.org
+++ b/README.org
@@ -227,6 +227,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 
 *Fixes*
 - Currently playing column in queue list buffer.
+- Autoload of ~listen~ / ~listen-menu~ commands (See 
[[https://github.com/magit/transient/issues/280][Transient issue]].  Thanks to 
Jonas Bernoulli.).
 
 ** v0.8.1
 
diff --git a/docs/README.org b/docs/README.org
index 83180b3a49..153ec7489f 100644
--- a/docs/README.org
+++ b/docs/README.org
@@ -239,6 +239,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 
 *Fixes*
 + Currently playing column in queue list buffer.
++ Autoload of ~listen~ / ~listen-menu~ commands (See 
[[https://github.com/magit/transient/issues/280][Transient issue]].  Thanks to 
Jonas Bernoulli.).
 
 ** v0.8.1
 
diff --git a/listen.el b/listen.el
index df3dfe8284..9dfb57f309 100755
--- a/listen.el
+++ b/listen.el
@@ -340,7 +340,7 @@ TIME is a string like \"SS\", \"MM:SS\", or \"HH:MM:SS\"."
 ;; It seems that autoloading the transient prefix command doesn't work
 ;; as expected, so we'll try this workaround.
 
-;;;###autoload
+;;;###autoload (autoload 'listen-menu "listen" nil t)
 (transient-define-prefix listen-menu ()
   "Show Listen menu."
   :info-manual "(listen)"

Reply via email to