[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: |
Stefan Monnier |
Subject: |
Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list |
Date: |
Mon, 12 Jan 2015 10:21:34 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> '((:group
> 1 (lambda (x)
> - (if (symbolp x)
> + (if (or (symbolp x) (listp x))
> (setq names--group-parent x)
> (names--warn
> "Argument given to :group is not a symbol: %s" x)))
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.
Stefan
- Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list,
Stefan Monnier <=
- 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, 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, 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