]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Fix bug#34757
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Jul 2019 21:28:10 +0000 (17:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Jul 2019 21:28:10 +0000 (17:28 -0400)
commit1c8405e33e814a372fa349313521b015c3601605
treee922be4b6a7695bd5380b472bafbc55589e022bb
parent37db78c4bd351041eada08ebbdbf92c16819f09c
* lisp/emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Fix bug#34757

This fix was provided by Pip Cet <pipcet@gmail.com>.  It tightens the
code that tries to recognize a bytecode sequence as being a simple
function call (to then decompile it), which occasionally misfired.

I added some minor changes found while investigating this issue.

(byte-compile): Handle corner case where byte-compile-top-level returns
a non-self-evaluating expression.
(byte-compile-out-toplevel): Remove support for `progn` and `t` values
of output-type which aren't used anywhere.
lisp/emacs-lisp/bytecomp.el