Subject: Re: [bug#41016] [PATCH] gnu: emacs-next: Upgrade to 27.0.91.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 04 May 2020 23:00:16 +0200

Hi Jack,

Jack Hill <[email-masked]> skribis:

> * gnu/packages/emacs.scm (emacs-next): Upgrade to 27.0.91.
> [inputs]: Remove imagemagick.

[...]

> -         ,@(package-inputs emacs)))
> +         ;; Emacs no longer uses ImageMagick by default
> +         ;; https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-27.0.91&id=c36c5a3dedbb2e0349be1b6c3b7567ea7b594f1c#n102
> +         ,@(let ((package-eq? (lambda (symbol input-item)
> +                                (match input-item
> +                                  ((name package)
> +                                   (eq? symbol package))))))
> +             (delete imagemagick (package-inputs emacs) package-eq?))))

For simplicity, we’d typically write:

  (alist-delete "imagemagick" (package-inputs emacs))

I can do it for you if you want, thanks!

Ludo’.