Merge from trunk
[emacs.git] / etc / NEWS.lexbind
blobde5d9a077155b226088212d76d0adff0088682c6
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2011
4           Free Software Foundation, Inc.
5 See the end of the file for license conditions.
7 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
8 If possible, use M-x report-emacs-bug.
10 This file is about changes in the Emacs "lexbind" branch.
13 * Lisp changes in Emacs 23.1
15 ** The `lexical-binding' lets code use lexical scoping for local variables.
16 It is typically set via file-local variables, in which case it applies to
17 all the code in that file.
19 ** Lexically scoped interpreted functions are represented with a new form
20 of function value which looks like (closure ENV lambda ARGS &rest BODY).
21 ** New macro `letrec' to define recursive local functions.
23 ----------------------------------------------------------------------
24 This file is part of GNU Emacs.
26 GNU Emacs is free software; you can redistribute it and/or modify
27 it under the terms of the GNU General Public License as published by
28 the Free Software Foundation; either version 2, or (at your option)
29 any later version.
31 GNU Emacs is distributed in the hope that it will be useful,
32 but WITHOUT ANY WARRANTY; without even the implied warranty of
33 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34 GNU General Public License for more details.
36 You should have received a copy of the GNU General Public License
37 along with GNU Emacs; see the file COPYING.  If not, write to the
38 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
39 Boston, MA 02110-1301, USA.
42 Local variables:
43 mode: outline
44 paragraph-separate: "[  \f]*$"
45 end:
47 arch-tag: d5ab31ab-2041-4b15-a1a9-e7c42693060c