diff options
| author | Paul Eggert | 2018-12-09 17:07:16 -0800 |
|---|---|---|
| committer | Paul Eggert | 2018-12-09 17:11:37 -0800 |
| commit | 48d7720993283a3387807fa5582bb10b1636bba5 (patch) | |
| tree | 74c7b2935470fcb39383390caec8485172243d84 /src/w32proc.c | |
| parent | 87bc518afcc3adc23762944ef49f89d375f90260 (diff) | |
| download | emacs-48d7720993283a3387807fa5582bb10b1636bba5.tar.gz emacs-48d7720993283a3387807fa5582bb10b1636bba5.zip | |
Remove CHECK_FIXNUM_CAR etc.
* src/coding.c (CHECK_FIXNAT_CAR, CHECK_FIXNAT_CDR):
* src/lisp.h (CHECK_FIXNUM_CAR, CHECK_FIXNUM_CDR):
Remove. All uses removed. These seem to have been based on
the assumption that the argument cons needs to be modified,
an assumption that is incorrect for fixnums.
(Fdefine_coding_system_internal): Use CHECK_RANGED_INTEGER
instead of a special diagnostic for graphic register numbers.
Diffstat (limited to 'src/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index cb02ba63412..5a075ff1a9a 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -3476,8 +3476,8 @@ If successful, the new layout id is returned, otherwise nil. */) | |||
| 3476 | HKL kl; | 3476 | HKL kl; |
| 3477 | 3477 | ||
| 3478 | CHECK_CONS (layout); | 3478 | CHECK_CONS (layout); |
| 3479 | CHECK_FIXNUM_CAR (layout); | 3479 | CHECK_FIXNUM (XCAR (layout)); |
| 3480 | CHECK_FIXNUM_CDR (layout); | 3480 | CHECK_FIXNUM (XCDR (layout)); |
| 3481 | 3481 | ||
| 3482 | kl = (HKL) (UINT_PTR) ((XFIXNUM (XCAR (layout)) & 0xffff) | 3482 | kl = (HKL) (UINT_PTR) ((XFIXNUM (XCAR (layout)) & 0xffff) |
| 3483 | | (XFIXNUM (XCDR (layout)) << 16)); | 3483 | | (XFIXNUM (XCDR (layout)) << 16)); |