1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 00:00:39 -08:00

do not native compile interactive functions

This commit is contained in:
Andrea Corallo 2019-11-05 20:34:12 +01:00
parent d392276b63
commit 33d8b736b0

View file

@ -2713,7 +2713,10 @@ 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))
(make-byte-to-native-function :name name :data code))
(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)))
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.