Michael Heerdegen writes: > Nicolas Petton writes: > >> (push `(pcase-defmacro . ,(lambda (&rest _) nil)) >> byte-compile-macro-environment) > > > Would this work? > > > (defmacro seq--when-pcase-defmacro-defined (&rest body) > (when (fboundp 'pcase-defmacro) > `(progn ,@body))) > > (seq--when-pcase-defmacro-defined > { your seq pcase pattern definitions here }) I'll give it a try, thanks Michael! Nico