diff options
| author | Tom Tromey | 2018-07-06 21:56:17 -0600 |
|---|---|---|
| committer | Tom Tromey | 2018-07-12 22:12:27 -0600 |
| commit | 42fe787b0f26c2df682b2797407a669ef8522ccb (patch) | |
| tree | e944fe465e2b65703a8361bc82647faf4f7907f1 /src/dispnew.c | |
| parent | 01dbf2a347944497fdcf2ec156f4605020d7ba2a (diff) | |
| download | emacs-42fe787b0f26c2df682b2797407a669ef8522ccb.tar.gz emacs-42fe787b0f26c2df682b2797407a669ef8522ccb.zip | |
Rename integerp->fixnum, etc, in preparation for bignums
* src/json.c, src/keyboard.c, src/keyboard.h, src/keymap.c,
src/kqueue.c, src/lcms.c, src/lisp.h, src/lread.c, src/macros.c,
src/marker.c, src/menu.c, src/minibuf.c, src/msdos.c, src/print.c,
src/process.c, src/profiler.c, src/search.c, src/sound.c,
src/syntax.c, src/sysdep.c, src/term.c, src/terminal.c,
src/textprop.c, src/undo.c, src/w16select.c, src/w32.c,
src/w32console.c, src/w32cygwinx.c, src/w32fns.c, src/w32font.c,
src/w32inevt.c, src/w32proc.c, src/w32select.c, src/w32term.c,
src/w32uniscribe.c, src/widget.c, src/window.c, src/xdisp.c,
src/xfaces.c, src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c,
src/xrdb.c, src/xselect.c, src/xterm.c, src/xwidget.c: Rename
INTEGERP->FIXNUM, make_number->make_fixnum, CHECK_NUMBER->CHECK_FIXNUM,
make_natnum->make_fixed_natum, NUMBERP->FIXED_OR_FLOATP,
NATNUMP->FIXNATP, CHECK_NATNUM->CHECK_FIXNAT.
Diffstat (limited to 'src/dispnew.c')
| -rw-r--r-- | src/dispnew.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index fc6f9e22632..0daa23e700d 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -5717,7 +5717,7 @@ additional wait period, in milliseconds; this is for backwards compatibility. | |||
| 5717 | 5717 | ||
| 5718 | if (!NILP (milliseconds)) | 5718 | if (!NILP (milliseconds)) |
| 5719 | { | 5719 | { |
| 5720 | CHECK_NUMBER (milliseconds); | 5720 | CHECK_FIXNUM (milliseconds); |
| 5721 | duration += XINT (milliseconds) / 1000.0; | 5721 | duration += XINT (milliseconds) / 1000.0; |
| 5722 | } | 5722 | } |
| 5723 | 5723 | ||
| @@ -5766,7 +5766,7 @@ sit_for (Lisp_Object timeout, bool reading, int display_option) | |||
| 5766 | if (display_option > 1) | 5766 | if (display_option > 1) |
| 5767 | redisplay_preserve_echo_area (2); | 5767 | redisplay_preserve_echo_area (2); |
| 5768 | 5768 | ||
| 5769 | if (INTEGERP (timeout)) | 5769 | if (FIXNUMP (timeout)) |
| 5770 | { | 5770 | { |
| 5771 | sec = XINT (timeout); | 5771 | sec = XINT (timeout); |
| 5772 | if (sec <= 0) | 5772 | if (sec <= 0) |
| @@ -5925,7 +5925,7 @@ pass nil for VARIABLE. */) | |||
| 5925 | || n + 20 < ASIZE (state) / 2) | 5925 | || n + 20 < ASIZE (state) / 2) |
| 5926 | /* Add 20 extra so we grow it less often. */ | 5926 | /* Add 20 extra so we grow it less often. */ |
| 5927 | { | 5927 | { |
| 5928 | state = Fmake_vector (make_number (n + 20), Qlambda); | 5928 | state = Fmake_vector (make_fixnum (n + 20), Qlambda); |
| 5929 | if (! NILP (variable)) | 5929 | if (! NILP (variable)) |
| 5930 | Fset (variable, state); | 5930 | Fset (variable, state); |
| 5931 | else | 5931 | else |
| @@ -6041,7 +6041,7 @@ init_display (void) | |||
| 6041 | { | 6041 | { |
| 6042 | Vinitial_window_system = Qx; | 6042 | Vinitial_window_system = Qx; |
| 6043 | #ifdef HAVE_X11 | 6043 | #ifdef HAVE_X11 |
| 6044 | Vwindow_system_version = make_number (11); | 6044 | Vwindow_system_version = make_fixnum (11); |
| 6045 | #endif | 6045 | #endif |
| 6046 | #ifdef USE_NCURSES | 6046 | #ifdef USE_NCURSES |
| 6047 | /* In some versions of ncurses, | 6047 | /* In some versions of ncurses, |
| @@ -6057,7 +6057,7 @@ init_display (void) | |||
| 6057 | if (!inhibit_window_system) | 6057 | if (!inhibit_window_system) |
| 6058 | { | 6058 | { |
| 6059 | Vinitial_window_system = Qw32; | 6059 | Vinitial_window_system = Qw32; |
| 6060 | Vwindow_system_version = make_number (1); | 6060 | Vwindow_system_version = make_fixnum (1); |
| 6061 | return; | 6061 | return; |
| 6062 | } | 6062 | } |
| 6063 | #endif /* HAVE_NTGUI */ | 6063 | #endif /* HAVE_NTGUI */ |
| @@ -6070,7 +6070,7 @@ init_display (void) | |||
| 6070 | ) | 6070 | ) |
| 6071 | { | 6071 | { |
| 6072 | Vinitial_window_system = Qns; | 6072 | Vinitial_window_system = Qns; |
| 6073 | Vwindow_system_version = make_number (10); | 6073 | Vwindow_system_version = make_fixnum (10); |
| 6074 | return; | 6074 | return; |
| 6075 | } | 6075 | } |
| 6076 | #endif | 6076 | #endif |
| @@ -6223,7 +6223,7 @@ syms_of_display (void) | |||
| 6223 | defsubr (&Sdump_redisplay_history); | 6223 | defsubr (&Sdump_redisplay_history); |
| 6224 | #endif | 6224 | #endif |
| 6225 | 6225 | ||
| 6226 | frame_and_buffer_state = Fmake_vector (make_number (20), Qlambda); | 6226 | frame_and_buffer_state = Fmake_vector (make_fixnum (20), Qlambda); |
| 6227 | staticpro (&frame_and_buffer_state); | 6227 | staticpro (&frame_and_buffer_state); |
| 6228 | 6228 | ||
| 6229 | /* This is the "purpose" slot of a display table. */ | 6229 | /* This is the "purpose" slot of a display table. */ |