summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2018-06-16 07:44:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-06-16 07:48:51 -0700
commit9af399fd803ac1ca79f319945b9745b5b96122e7 (patch)
tree64d52ed4243fb0622771c2cbcef64c01c5d420d7 /lisp/emacs-lisp/trace.el
parent34e257f83a22093cc8dd7a6cd8a4707123f5af77 (diff)
downloademacs-9af399fd803ac1ca79f319945b9745b5b96122e7.tar.gz
emacs-9af399fd803ac1ca79f319945b9745b5b96122e7.tar.bz2
emacs-9af399fd803ac1ca79f319945b9745b5b96122e7.zip
Fix byte compilation of (eq foo 'default)
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 'lisp/emacs-lisp/trace.el')
0 files changed, 0 insertions, 0 deletions