diff options
| author | Fabián Ezequiel Gallina | 2014-06-30 01:11:43 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-06-30 01:11:43 -0300 |
| commit | c08f8be29f4f6d107da5cc38d614519df7a6ab11 (patch) | |
| tree | 1aa7c297a73c23b8c0dccc1242601c1eb02033dc /test/ChangeLog | |
| parent | f8e16324a038417f0180b76c77c60313c880e74c (diff) | |
| download | emacs-c08f8be29f4f6d107da5cc38d614519df7a6ab11.tar.gz emacs-c08f8be29f4f6d107da5cc38d614519df7a6ab11.zip | |
New if-let, when-let, thread-first and thread-last macros.
* lisp/emacs-lisp/subr-x.el
(internal--listify, internal--check-binding)
(internal--build-binding-value-form, internal--build-binding)
(internal--build-bindings): New functions.
(internal--thread-argument, thread-first, thread-last)
(if-let, when-let): New macros.
* test/automated/subr-x-tests.el
(subr-x-test-if-let-single-binding-expansion)
(subr-x-test-if-let-single-symbol-expansion)
(subr-x-test-if-let-nil-related-expansion)
(subr-x-test-if-let-malformed-binding, subr-x-test-if-let-true)
(subr-x-test-if-let-false, subr-x-test-if-let-bound-references)
(subr-x-test-if-let-and-lazyness-is-preserved)
(subr-x-test-when-let-body-expansion)
(subr-x-test-when-let-single-binding-expansion)
(subr-x-test-when-let-single-symbol-expansion)
(subr-x-test-when-let-nil-related-expansion)
(subr-x-test-when-let-malformed-binding)
(subr-x-test-when-let-true, subr-x-test-when-let-false)
(subr-x-test-when-let-bound-references)
(subr-x-test-when-let-and-lazyness-is-preserved)
(subr-x-test-thread-first-no-forms)
(subr-x-test-thread-first-function-names-are-threaded)
(subr-x-test-thread-first-expansion)
(subr-x-test-thread-last-no-forms)
(subr-x-test-thread-last-function-names-are-threaded)
(subr-x-test-thread-last-expansion): New tests.
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 9b0f3ab1b04..34807205e0f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 2 | |||
| 3 | * automated/subr-x-tests.el | ||
| 4 | (subr-x-test-if-let-single-binding-expansion) | ||
| 5 | (subr-x-test-if-let-single-symbol-expansion) | ||
| 6 | (subr-x-test-if-let-nil-related-expansion) | ||
| 7 | (subr-x-test-if-let-malformed-binding, subr-x-test-if-let-true) | ||
| 8 | (subr-x-test-if-let-false, subr-x-test-if-let-bound-references) | ||
| 9 | (subr-x-test-if-let-and-lazyness-is-preserved) | ||
| 10 | (subr-x-test-when-let-body-expansion) | ||
| 11 | (subr-x-test-when-let-single-binding-expansion) | ||
| 12 | (subr-x-test-when-let-single-symbol-expansion) | ||
| 13 | (subr-x-test-when-let-nil-related-expansion) | ||
| 14 | (subr-x-test-when-let-malformed-binding) | ||
| 15 | (subr-x-test-when-let-true, subr-x-test-when-let-false) | ||
| 16 | (subr-x-test-when-let-bound-references) | ||
| 17 | (subr-x-test-when-let-and-lazyness-is-preserved) | ||
| 18 | (subr-x-test-thread-first-no-forms) | ||
| 19 | (subr-x-test-thread-first-function-names-are-threaded) | ||
| 20 | (subr-x-test-thread-first-expansion) | ||
| 21 | (subr-x-test-thread-last-no-forms) | ||
| 22 | (subr-x-test-thread-last-function-names-are-threaded) | ||
| 23 | (subr-x-test-thread-last-expansion): New tests. | ||
| 24 | |||
| 1 | 2014-06-29 Michael Albinus <michael.albinus@gmx.de> | 25 | 2014-06-29 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 26 | ||
| 3 | * automated/tramp-tests.el (tramp--instrument-test-case): | 27 | * automated/tramp-tests.el (tramp--instrument-test-case): |