diff options
| author | Mattias EngdegÄrd | 2022-07-23 14:55:54 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2022-07-23 14:55:54 +0200 |
| commit | aa28829eb7800f3e9df1ef1df36b07a4e9cb2cf2 (patch) | |
| tree | 77d60030845e82d7b2b799bdda3b046b65445417 /src | |
| parent | 38d5e346df3e492a701801652d15b7209c394248 (diff) | |
| download | emacs-aa28829eb7800f3e9df1ef1df36b07a4e9cb2cf2.tar.gz emacs-aa28829eb7800f3e9df1ef1df36b07a4e9cb2cf2.zip | |
Correct symbol in error for failed CHECK_INTEGER (bug#56723)
Reported by Jeronimo Pellegrini.
* src/lisp.h (CHECK_INTEGER): Use integerp, not numberp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 2afe135674d..8fcc9b6e75a 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3146,7 +3146,7 @@ CHECK_NUMBER (Lisp_Object x) | |||
| 3146 | INLINE void | 3146 | INLINE void |
| 3147 | CHECK_INTEGER (Lisp_Object x) | 3147 | CHECK_INTEGER (Lisp_Object x) |
| 3148 | { | 3148 | { |
| 3149 | CHECK_TYPE (INTEGERP (x), Qnumberp, x); | 3149 | CHECK_TYPE (INTEGERP (x), Qintegerp, x); |
| 3150 | } | 3150 | } |
| 3151 | 3151 | ||
| 3152 | INLINE void | 3152 | INLINE void |