]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/emacs-lisp/byte-opt.el (byte-optimize--fixnump): Optimise.
authorMattias Engdegård <mattiase@acm.org>
Thu, 21 Jul 2022 10:18:59 +0000 (12:18 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 21 Jul 2022 13:26:00 +0000 (15:26 +0200)
lisp/emacs-lisp/byte-opt.el

index a457e2044d8477f784f30621ac2331f139c702c0..5705b2a8fd7062909ac4b2b137acc6252be8df07 100644 (file)
@@ -921,7 +921,7 @@ for speeding up processing.")
 (defun byte-optimize--fixnump (o)
   "Return whether O is guaranteed to be a fixnum in all Emacsen.
 See Info node `(elisp) Integer Basics'."
-  (and (fixnump o) (<= -536870912 o 536870911)))
+  (and (integerp o) (<= -536870912 o 536870911)))
 
 (defun byte-optimize-equal (form)
   ;; Replace `equal' or `eql' with `eq' if at least one arg is a