|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] trunk r117274: * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's. |
Date: | Thu, 05 Jun 2014 17:02:29 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> + (let ((progn-maybe (lambda (body) > + (if (cdr body) (cons 'progn body) (car body))))) This is called macroexp-progn. And instead of (let ((foo (lambda ...))) ... (funcall foo body) ... ... (funcall foo body) ...) better do (let ((body-exp ...)) ... body-exp ... ... body-exp ...) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |