]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct symbol in error for failed CHECK_INTEGER (bug#56723)
authorMattias Engdegård <mattiase@acm.org>
Sat, 23 Jul 2022 12:55:54 +0000 (14:55 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 23 Jul 2022 12:55:54 +0000 (14:55 +0200)
Reported by Jeronimo Pellegrini.

* src/lisp.h (CHECK_INTEGER): Use integerp, not numberp.

src/lisp.h

index 2afe135674d6983a6d61145f888f856e3857db08..8fcc9b6e75a7cfd6cce84a54f2959b7db43ce197 100644 (file)
@@ -3146,7 +3146,7 @@ CHECK_NUMBER (Lisp_Object x)
 INLINE void
 CHECK_INTEGER (Lisp_Object x)
 {
-  CHECK_TYPE (INTEGERP (x), Qnumberp, x);
+  CHECK_TYPE (INTEGERP (x), Qintegerp, x);
 }
 
 INLINE void