diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-08-19 14:59:29 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-08-19 15:26:34 +0200 |
commit | 5fcb97dabd3f7b00ebc574d6be4bad16a64482de (patch) | |
tree | 0ec796e0803703a9c1750dff6b0c63cabb693351 /lisp/info-xref.el | |
parent | 362ca83a3b9d74c51ac325a6490551272aa25f9a (diff) | |
download | emacs-5fcb97dabd3f7b00ebc574d6be4bad16a64482de.tar.gz emacs-5fcb97dabd3f7b00ebc574d6be4bad16a64482de.tar.bz2 emacs-5fcb97dabd3f7b00ebc574d6be4bad16a64482de.zip |
Fix cond jump table compilation (bug#42919)
This bug affected compilation of
(cond ((member '(some list) variable) ...) ...)
While equal is symmetric, member is not; in the latter case the
arguments must be a variable and a constant list, in that order.
Reported by Ikumi Keita.
* lisp/emacs-lisp/bytecomp.el (byte-compile--cond-switch-prefix):
Don't treat equality and member predicates in the same way; only
the former are symmetric in their arguments.
* test/lisp/emacs-lisp/bytecomp-tests.el
(byte-opt-testsuite-arith-data): Add test cases.
Diffstat (limited to 'lisp/info-xref.el')
0 files changed, 0 insertions, 0 deletions