[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).
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Stefan Monnier, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Stephen J. Turnbull, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Nicolas Richard, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list,
Stephen J. Turnbull <=
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, David Kastrup, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Artur Malabarba, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, David Kastrup, 2015/01/12
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Stephen J. Turnbull, 2015/01/13
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, David Kastrup, 2015/01/13
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Artur Malabarba, 2015/01/14
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, David Kastrup, 2015/01/14
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list, Stefan Monnier, 2015/01/13