emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list


From: Stephen J. Turnbull
Subject: Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list
Date: Tue, 13 Jan 2015 02:29:35 +0900

Nicolas Richard writes:
 > "Stephen J. Turnbull" <address@hidden> writes:
 > 
 > > Stefan Monnier writes:
 > >
 > >  > Just like we don't like '(lambda ...), we don't like '(... (lambda ...)
 > >  > ...) either (tho it's still found at many places in Emacs's source code
 > >  > since you can't "grep" for it quite as easily).  Better use
 > >  > `(... ,(lambda ...) ...) instead, so the lambda is byte-compiled.  
 > >
 > > Doesn't Emacs support #', and wouldn't that be more readable?
 > 
 > I don't think it will help :
 > `(... ,#'(lambda ...) ...) doesn't look more readable and
 > #'(... (lambda ...) ...) would be wrong

I'm suggesting

    '(... #'(lambda ...) ...)

to tell the byte-compiler that the lambda expression is a function,
and can be replaced by an equivalent function (ie, the byte-compiled
version).



reply via email to

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