From: Chong Yidong Date: Sun, 10 May 2009 22:01:20 +0000 (+0000) Subject: * emacs-lisp/cl-macs.el (lexical-let*): Doc fix (Bug#3178). X-Git-Tag: emacs-pretest-23.0.94~77 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/143770f236fe75247343d0d5c063dc09d1cf10df * emacs-lisp/cl-macs.el (lexical-let*): Doc fix (Bug#3178). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ae87752498..073d45db52 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-05-10 Chong Yidong + + * emacs-lisp/cl-macs.el (lexical-let*): Doc fix (Bug#3178). + 2009-05-10 Kim F. Storm * ido.el: Add proper support for confirm-nonexistent-file-or-buffer diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index edcb5c9056..2d6eb93550 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -1448,8 +1448,10 @@ lexical closures as in Common Lisp. ;;;###autoload (defmacro lexical-let* (bindings &rest body) "Like `let*', but lexically scoped. -The main visible difference is that lambdas inside BODY will create -lexical closures as in Common Lisp. +The main visible difference is that lambdas inside BODY, and in +successive bindings within BINDINGS, will create lexical closures +as in Common Lisp. This is similar to the behavior of `let*' in +Common Lisp. \n(fn VARLIST BODY)" (if (null bindings) (cons 'progn body) (setq bindings (reverse bindings))