Subject: Re: bug#49866: 28.0.50; gnus-summary-exit from the transient search buffer giving error

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 06 Aug 2021 11:29:54 +0200

Eric Abrahamsen <[email-masked]> writes:

> Andy points out that the code above should not, by default, raise an
> error if the `alist-get' call returns nil. Something in both Pankaj and
> my installation has messed with the map functions so that this returns
> an error:
>
> (map-merge 'list '(1 2 3) nil)
>
> I couldn't raise an error with "emacs -Q", instead it returned:
>
> ((1 . 2) (3))
>
> which also seems wrong, but at least isn't an error.

Oh!

I assumed that map-merge didn't work on nil arguments, too, but didn't
actually check.  And indeed:

(map-merge 'list nil nil)
=> nil

So...  do you have an older version of map.el from ELPA/MELPA or
something?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no