diff options
| author | Michael Heerdegen | 2017-11-02 18:45:34 +0100 |
|---|---|---|
| committer | Michael Heerdegen | 2017-12-01 08:54:05 +0100 |
| commit | cc58d4de56e362f5e017d0607986b2962ee47fc1 (patch) | |
| tree | 3b2427fc07973dd598424ed185b5a36bc0d69be9 /etc | |
| parent | ef183144add2b92359a9ade2ec0b28681b26956b (diff) | |
| download | emacs-cc58d4de56e362f5e017d0607986b2962ee47fc1.tar.gz emacs-cc58d4de56e362f5e017d0607986b2962ee47fc1.zip | |
Add macros `thunk-let' and `thunk-let*'
* lisp/emacs-lisp/thunk.el (thunk-let, thunk-let*): New macros.
* test/lisp/emacs-lisp/thunk-tests.el:
(thunk-let-basic-test, thunk-let*-basic-test)
(thunk-let-bound-vars-cant-be-set-test)
(thunk-let-laziness-test, thunk-let*-laziness-test)
(thunk-let-bad-binding-test): New tests for `thunk-let' and
`thunk-let*.
* doc/lispref/eval.texi (Deferred Eval): New section.
* doc/lispref/elisp.texi: Update menu.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -109,6 +109,10 @@ Snake and Pong are more playable on HiDPI displays. | |||
| 109 | *** Completing filenames in the minibuffer via 'C-TAB' now uses the | 109 | *** Completing filenames in the minibuffer via 'C-TAB' now uses the |
| 110 | styles as configured by the variable 'completion-styles'. | 110 | styles as configured by the variable 'completion-styles'. |
| 111 | 111 | ||
| 112 | ** New macros 'thunk-let' and 'thunk-let*'. | ||
| 113 | These macros are analogue to 'let' and 'let*', but create bindings that | ||
| 114 | are evaluated lazily. | ||
| 115 | |||
| 112 | 116 | ||
| 113 | * New Modes and Packages in Emacs 27.1 | 117 | * New Modes and Packages in Emacs 27.1 |
| 114 | 118 | ||