Correct symbol in error for failed CHECK_INTEGER (bug#56723)
Reported by Jeronimo Pellegrini. * src/lisp.h (CHECK_INTEGER): Use integerp, not numberp.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user