diff options
author | Paul Eggert <eggert@Penguin.CS.UCLA.EDU> | 2018-06-16 07:44:58 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-16 09:44:05 -0700 |
commit | e1284341fdc9a5d9b25339c3d47b02bc35cd8db4 (patch) | |
tree | f15a3b9382d6cf1c54a61eff801254a0ba3e2b0c /test/lisp/emacs-lisp/package-resources/macro-problem-package-2.0/macro-problem.el | |
parent | 4753d79331f747001ebdbbe9c32b33597daab37f (diff) | |
download | emacs-e1284341fdc9a5d9b25339c3d47b02bc35cd8db4.tar.gz emacs-e1284341fdc9a5d9b25339c3d47b02bc35cd8db4.tar.bz2 emacs-e1284341fdc9a5d9b25339c3d47b02bc35cd8db4.zip |
Fix byte compilation of (eq foo 'default)
Backport from master.
Do not use the symbol ‘default’ as a special marker.
Instead, use a value that cannot appear in the program,
improving on a patch proposed by Robert Cochran (Bug#31718#14).
* lisp/emacs-lisp/bytecomp.el (byte-compile--default-val):
New constant.
(byte-compile-cond-jump-table-info)
(byte-compile-cond-jump-table): Use it instead of 'default.
* test/lisp/emacs-lisp/bytecomp-tests.el:
(byte-opt-testsuite-arith-data): Add a test for the bug.
Diffstat (limited to 'test/lisp/emacs-lisp/package-resources/macro-problem-package-2.0/macro-problem.el')
0 files changed, 0 insertions, 0 deletions