diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-09 17:07:16 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-09 17:11:37 -0800 |
| commit | 48d7720993283a3387807fa5582bb10b1636bba5 (patch) | |
| tree | 74c7b2935470fcb39383390caec8485172243d84 /src/w32proc.c | |
| parent | 87bc518afcc3adc23762944ef49f89d375f90260 (diff) | |
| download | emacs-48d7720993283a3387807fa5582bb10b1636bba5.tar.gz | |
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. */) HKL kl; CHECK_CONS (layout); - CHECK_FIXNUM_CAR (layout); - CHECK_FIXNUM_CDR (layout); + CHECK_FIXNUM (XCAR (layout)); + CHECK_FIXNUM (XCDR (layout)); kl = (HKL) (UINT_PTR) ((XFIXNUM (XCAR (layout)) & 0xffff) | (XFIXNUM (XCDR (layout)) << 16)); |
