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: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=143770f236fe75247343d0d5c063dc09d1cf10df;p=emacs.git * emacs-lisp/cl-macs.el (lexical-let*): Doc fix (Bug#3178). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ae877524983..073d45db526 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 edcb5c90564..2d6eb93550b 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))