]> git.eshelyaron.com Git - emacs.git/commitdiff
spill also interactive functions
authorAndrea Corallo <akrl@sdf.org>
Sat, 7 Dec 2019 16:37:31 +0000 (17:37 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:12 +0000 (11:38 +0100)
lisp/emacs-lisp/bytecomp.el

index 5d2558a579d9e3784046db0fd9063fda6b7c906e..3e354951ea3d8fe32e30417f5202f0bb152ced40 100644 (file)
@@ -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.