emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/listen 7a126a04d0 1/2: Fix: Autoloads


From: ELPA Syncer
Subject: [elpa] externals/listen 7a126a04d0 1/2: Fix: Autoloads
Date: Thu, 28 Mar 2024 12:58:37 -0400 (EDT)

branch: externals/listen
commit 7a126a04d04dabba95acb163142077f0cbc9cad0
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: Autoloads
    
    See <https://github.com/magit/transient/issues/280>.
    
    Suggested-by: Jonas Bernoulli <jonas@bernoul.li>
---
 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

[Prev in Thread] Current Thread [Next in Thread]