aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6dc0756e880..0a401eb3a3f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1049,19 +1049,20 @@ sc.el, x-menu.el, rnews.el, rnewspost.el
1049 1049
1050* Lisp changes in Emacs 24.1 1050* Lisp changes in Emacs 24.1
1051 1051
1052+++
1052** Code can now use lexical scoping by default instead of dynamic scoping. 1053** Code can now use lexical scoping by default instead of dynamic scoping.
1053The `lexical-binding' variable lets code use lexical scoping for local 1054The `lexical-binding' variable lets code use lexical scoping for local
1054variables. It is typically set via a file-local variable in the first 1055variables. It is typically set via a file-local variable in the first
1055line of the file, in which case it applies to all the code in that file. 1056line of the file, in which case it applies to all the code in that file.
1056 1057+++
1057*** `eval' takes a new optional argument `lexical' to choose the new lexical 1058*** `eval' takes a new optional argument `lexical' to choose the new lexical
1058binding instead of the old dynamic binding mode. 1059binding instead of the old dynamic binding mode.
1059 1060+++
1060*** Lexically scoped interpreted functions are represented with a new form 1061*** Lexically scoped interpreted functions are represented with a new form
1061of function value which looks like (closure ENV ARGS &rest BODY). 1062of function value which looks like (closure ENV ARGS &rest BODY).
1062 1063
1063*** New macro `letrec' to define recursive local functions. 1064*** New macro `letrec' to define recursive local functions.
1064 1065+++
1065*** New function `special-variable-p' to check whether a variable is 1066*** New function `special-variable-p' to check whether a variable is
1066declared as dynamically bound. 1067declared as dynamically bound.
1067 1068