[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upcoming seq.el version problem with the Emacs release
From: |
Nicolas Petton |
Subject: |
Re: Upcoming seq.el version problem with the Emacs release |
Date: |
Mon, 21 Mar 2016 09:39:37 +0100 |
User-agent: |
Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu) |
Michael Heerdegen <address@hidden> writes:
> Nicolas Petton <address@hidden> 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
signature.asc
Description: PGP signature