aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Heerdegen2017-11-02 18:45:34 +0100
committerMichael Heerdegen2017-12-01 08:54:05 +0100
commitcc58d4de56e362f5e017d0607986b2962ee47fc1 (patch)
tree3b2427fc07973dd598424ed185b5a36bc0d69be9 /etc
parentef183144add2b92359a9ade2ec0b28681b26956b (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c47ca42d277..6b3e7fc244b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
110styles as configured by the variable 'completion-styles'. 110styles as configured by the variable 'completion-styles'.
111 111
112** New macros 'thunk-let' and 'thunk-let*'.
113These macros are analogue to 'let' and 'let*', but create bindings that
114are 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