emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r117274: * emacs-lisp/cl-macs.el (cl-macrolet):


From: Leo Liu
Subject: Re: [Emacs-diffs] trunk r117274: * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
Date: Fri, 06 Jun 2014 07:03:22 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5)

On 2014-06-05 17:02 -0400, Stefan Monnier wrote:
> This is called macroexp-progn.

Knew about this but forgot.

> And instead of
>
>    (let ((foo (lambda ...)))
>      ... (funcall foo body) ...
>      ... (funcall foo body) ...)
>
> better do
>
>    (let ((body-exp ...))
>      ... body-exp ...
>      ... body-exp ...)

Was too tired last night :( Thanks for pointing this out.

Leo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]