From d7071c64575bd3116e154f93915ff099c6e0f3a0 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 7 Dec 2019 17:37:31 +0100 Subject: [PATCH] spill also interactive functions --- lisp/emacs-lisp/bytecomp.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 5d2558a579d..3e354951ea3 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -2714,10 +2714,7 @@ not to take responsibility for the actual compilation of the code." (push (if macro (make-byte-to-native-top-level :form `(defalias ',name '(macro . ,code) nil)) - (if (commandp code) - (make-byte-to-native-top-level ;FIXME compile interactive functions. - :form `(defalias ',name ,code)) - (make-byte-to-native-function :name name :data code))) + (make-byte-to-native-function :name name :data code)) byte-to-native-top-level-forms)) ;; Output the form by hand, that's much simpler than having ;; b-c-output-file-form analyze the defalias. -- 2.39.5