Files
emacs/test/lisp
Mark Oteiza 4612b2a2b3 Implement and-let*
This also includes changes to if-let and when-let.  The single tuple
special case is ambiguous, and binding a symbol to nil is not as
useful as binding it to its value outside the lexical scope of the
binding.  (Bug#28254)
* etc/NEWS: Mention.
* lisp/emacs-lisp/subr-x.el (internal--listify):
(internal--build-binding-value-form): Extend to account for
solitary symbols and (EXPR) items in binding varlist.
(if-let*, when-let*): Nix single tuple case and incumbent
bind-symbol-to-nil behavior.
(and-let*): New macro.
(if-let, when-let): Mark obsolete.  Redefine in terms of if-let*, so
they implicitly gain the new features without breaking existing code.
* test/lisp/emacs-lisp/subr-x-tests.el: Adjust tests for: lack of
single-tuple special case, lack of binding solitary symbols to nil,
and the introduction of uninterned symbols for (EXPR) bindings.  Add
SRFI-2 test suite adapted to Elisp.
2017-09-12 13:18:06 -04:00
..
2017-08-11 11:28:57 +02:00
2017-09-12 13:18:06 -04:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-08-04 14:15:51 +09:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-09-10 09:24:37 -07:00
2017-07-06 19:54:07 -04:00
2017-09-10 20:38:19 -07:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-09-10 09:24:37 -07:00
2017-01-01 01:10:47 -08:00
2017-01-03 18:34:13 -05:00
2017-05-21 00:09:41 +01:00
2017-09-10 09:24:37 -07:00
2017-07-20 15:42:12 -07:00
2017-09-10 09:24:37 -07:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00