diff options
author | Vibhav Pant <vibhavp@gmail.com> | 2017-04-22 20:38:53 +0530 |
---|---|---|
committer | Vibhav Pant <vibhavp@gmail.com> | 2017-04-22 22:08:15 +0530 |
commit | 1c91bc9221d12618c9fb5507561dd35b7e392cb6 (patch) | |
tree | 515cbb3f08814413ef43359d047c5bd9273ea024 /test/lisp/emacs-lisp/checkdoc-tests.el | |
parent | ace38bafa6ae0d40bf3fac9f998c8ecbe36d5f41 (diff) | |
download | emacs-1c91bc9221d12618c9fb5507561dd35b7e392cb6.tar.gz emacs-1c91bc9221d12618c9fb5507561dd35b7e392cb6.tar.bz2 emacs-1c91bc9221d12618c9fb5507561dd35b7e392cb6.zip |
b-c--cond-jump-table-info: Use correct body for singleton clauses
* lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info):
When a clause's body consists of a single constant expression, use
that expression as the body to be compiled. This fixes switch bytecode
evaluating to nil to such clauses.
Diffstat (limited to 'test/lisp/emacs-lisp/checkdoc-tests.el')
0 files changed, 0 insertions, 0 deletions