Make inlining of other-mode interpreted functions work.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Jun 2012 03:31:27 +0000 (23:31 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Jun 2012 03:31:27 +0000 (23:31 -0400)
commitc207708c86ab04f4bb1d78789be0d116e77ba9bb
treead5da6a992628f001c7c5dce39b847a94575c4c4
parent059e4fb5ed71639f16162e559c9f68f8b5889b9c
Make inlining of other-mode interpreted functions work.
* lisp/emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
(byte-compile): Use it to fix compilation of lexical-binding closures.
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
function, if needed.

Fixes: debbugs:11799
lisp/ChangeLog
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/bytecomp.el