; * lisp/emacs-lisp/byte-opt.el (byte-optimize--fixnump): Optimise.

This commit is contained in:
Mattias Engdegård 2022-07-21 12:18:59 +02:00
parent 72278f21e0
commit 0069085be2

View 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