projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d5e34
)
Correct symbol in error for failed CHECK_INTEGER (bug#56723)
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 23 Jul 2022 12:55:54 +0000
(14:55 +0200)
committer
Mattias 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
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index 2afe135674d6983a6d61145f888f856e3857db08..8fcc9b6e75a7cfd6cce84a54f2959b7db43ce197 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-3146,7
+3146,7
@@
CHECK_NUMBER (Lisp_Object x)
INLINE void
CHECK_INTEGER (Lisp_Object x)
{
- CHECK_TYPE (INTEGERP (x), Q
numb
erp, x);
+ CHECK_TYPE (INTEGERP (x), Q
integ
erp, x);
}
INLINE void