]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Improve 263d6c38539
authorAndrea Corallo <akrl@sdf.org>
Tue, 21 Mar 2023 10:51:03 +0000 (11:51 +0100)
committerAndrea Corallo <akrl@sdf.org>
Tue, 21 Mar 2023 11:10:31 +0000 (12:10 +0100)
lisp/emacs-lisp/comp.el

index febca8df19c5bfbab8c2c6731875ee2d8569bc97..3dcbc2cca4d64e480f3bd9d6a87036dff4fdd39c 100644 (file)
@@ -1773,7 +1773,7 @@ SP-DELTA is the stack adjustment."
              (maxarg (cdr arity)))
         (when (eq maxarg 'unevalled)
           (signal 'native-ice (list "subr contains unevalled args" subr-name)))
-        (if (not (subrp subr-name))
+        (if (not (subr-primitive-p subr-name))
             ;; The primitive got redefined before the compiler is
             ;; invoked! (bug#61917)
             (comp-emit-set-call `(callref funcall