Subject: Re: bug#30749: 26.0.91; (cl-)case is confused when a nil atom is used instead of a keylist

From: Noam Postavsky <[email-masked]>
Date: Sat, 10 Mar 2018 17:57:58 -0500

tags 30749 fixed
close 30749 26.1
quit

Alex Bennée <[email-masked]> writes:

> Noam Postavsky <[email-masked]> writes:
>
>> 'nil is the same as (quote nil)
>
> Ahh so ends up as a list containing nil?

Yup.

>> -If no clause succeeds, cl-case returns nil.  A single atom may be used in
>> +If no clause succeeds, cl-case returns nil.  A single non-nil atom may be used in

> Works for me.

Pushed to emacs-26.

[1: e244fed5e0]: 2018-03-10 17:56:04 -0500
  Clarify that nil doesn't match itself as a cl-case clause (Bug#30749)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e244fed5e041c706dd10c60bd893634902f04aaa