[Top][All Lists]

[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: Sun, 20 Mar 2016 11:15:27 +0100
User-agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/ (x86_64-unknown-linux-gnu)

Bozhidar Batsov <address@hidden> writes:

> I might be missing something here, but what exactly is so problematic -
> there are packages that are in Emacs and on ELPA (e.g. cl-lib) and I don't
> think they are taking any special measures.

The problem is that seq.el (in Emacs) uses `pcase-defmacro', which does
not exist in Emacs 24.5.  When byte-compiling the file, we get warnings
as the byte compiler will think that `pcase-defmacro' is a function.

The solution I'm going for is to define locally the macro (when
byte-compiling the file in Emacs < 25), using something like the

    (push `(pcase-defmacro . ,(lambda (&rest _) nil))

You can read more about the issue here:

Nicolas Petton

Attachment: signature.asc
Description: PGP signature

reply via email to

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