[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29165: 26.0.90; can't use some code byte-compiled under emacs 24
From: |
Stefan Monnier |
Subject: |
bug#29165: 26.0.90; can't use some code byte-compiled under emacs 24 |
Date: |
Wed, 13 Dec 2017 18:39:52 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> (And if we’re going to make that sort of thing an error, we should
>> probably check whether empty &key or &aux variable lists are similarly
>> rejected. I haven’t looked.)
I recently installed a patch to fix/improve the behavior of &aux with no
keyword variable (I bumped into it while working on some Elisp package,
tho I can't remember which right now).
I think it's usually worth the small extra effort to support &optional
not followed by any var (as well as &aux not followed by any var) since
it sometimes comes in handy. But not if it costs extra at run-time.
> Updated patch which handles &aux as well. I also tested a bootstrap
> (doing this I found the previous patch messed up some positive cases).
To the extent that &aux is only handled by macro-expansion, accepting an
empty &aux never costs anything at run-time, so I think rejecting it is
a disservice to our users.
Stefan