|
From: | Noam Postavsky |
Subject: | bug#30749: 26.0.91; (cl-)case is confused when a nil atom is used instead of a keylist |
Date: | Sat, 10 Mar 2018 17:57:58 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
tags 30749 fixed close 30749 26.1 quit Alex Bennée <alex.bennee@linaro.org> writes: > Noam Postavsky <npostavs@gmail.com> 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
[Prev in Thread] | Current Thread | [Next in Thread] |