branch: externals/emms
commit 1e08aed57cd54249ba5894986a42a08c27f14b61
Author: Fran Burstall <fran.burst...@gmail.com>
Commit: Fran Burstall <fran.burst...@gmail.com>

    * emms-radio-browser.el: also test transient-version
    
    This was only defined in a sufficiently up to date transient.el
---
 emms-radio-browser.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emms-radio-browser.el b/emms-radio-browser.el
index 81d4ae9049..e7b6f18dbc 100644
--- a/emms-radio-browser.el
+++ b/emms-radio-browser.el
@@ -240,7 +240,7 @@ Switches to an EMMS playlist containing the results."
 
 (defmacro emms-radio-browser--make-full-search ()
   "Define a transient with features conditional on Emacs version."
-  (if (< emacs-major-version 30)
+  (if (and (< emacs-major-version 30) (not (boundp 'transient-version)))
       '(transient-define-prefix emms-radio-browser-full-search-prefix ()
         "Construct a search query by filling in a form.
 

Reply via email to