diff options
| author | Tom Tromey | 2018-08-07 18:08:53 -0600 |
|---|---|---|
| committer | Tom Tromey | 2018-08-07 18:08:53 -0600 |
| commit | d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8 (patch) | |
| tree | 04c920acf142f686d3cac11080b17a2fb0dfc9af /src/term.c | |
| parent | 68ebff23f7057090da260830500cb278f7b886a5 (diff) | |
| download | emacs-d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8.tar.gz emacs-d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8.zip | |
More macro renamings for bignum
* src/alloc.c, src/bidi.c, src/buffer.c, src/buffer.h, src/bytecode.c,
src/callint.c, src/callproc.c, src/casefiddle.c, src/casetab.c,
src/category.c, src/ccl.c, src/character.c, src/character.h,
src/charset.c, src/charset.h, src/chartab.c, src/cmds.c, src/coding.c,
src/composite.c, src/composite.h, src/data.c, src/dbusbind.c,
src/decompress.c, src/dired.c, src/dispextern.h, src/dispnew.c,
src/disptab.h, src/doc.c, src/dosfns.c, src/editfns.c,
src/emacs-module.c, src/emacs.c, src/eval.c, src/fileio.c,
src/floatfns.c, src/fns.c, src/font.c, src/font.h, src/fontset.c,
src/frame.c, src/frame.h, src/fringe.c, src/ftcrfont.c, src/ftfont.c,
src/gfilenotify.c, src/gnutls.c, src/gtkutil.c, src/image.c,
src/indent.c, src/insdel.c, src/intervals.c, src/json.c,
src/keyboard.c, 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/syntax.h, src/sysdep.c, src/term.c,
src/termhooks.h, src/textprop.c, src/undo.c, src/w32.c,
src/w32console.c, src/w32fns.c, src/w32font.c, src/w32inevt.c,
src/w32proc.c, src/w32select.c, src/w32term.c, src/w32term.h,
src/w32uniscribe.c, src/window.c, src/xdisp.c, src/xfaces.c,
src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c, src/xml.c,
src/xrdb.c, src/xselect.c, src/xsettings.c, src/xterm.c, src/xwidget.c
Rename XINT->XFIXNUM, XFASTINT->XFIXNAT, XUINT->XUFIXNUM.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c index 026ead3f9a7..ce24f6915fc 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2147,7 +2147,7 @@ set_tty_color_mode (struct tty_display_info *tty, struct frame *f) | |||
| 2147 | else | 2147 | else |
| 2148 | color_mode = Qnil; | 2148 | color_mode = Qnil; |
| 2149 | 2149 | ||
| 2150 | mode = TYPE_RANGED_FIXNUMP (int, color_mode) ? XINT (color_mode) : 0; | 2150 | mode = TYPE_RANGED_FIXNUMP (int, color_mode) ? XFIXNUM (color_mode) : 0; |
| 2151 | 2151 | ||
| 2152 | if (mode != tty->previous_color_mode) | 2152 | if (mode != tty->previous_color_mode) |
| 2153 | { | 2153 | { |
| @@ -2805,8 +2805,8 @@ mouse_get_xy (int *x, int *y) | |||
| 2805 | &time_dummy); | 2805 | &time_dummy); |
| 2806 | if (!NILP (lmx)) | 2806 | if (!NILP (lmx)) |
| 2807 | { | 2807 | { |
| 2808 | *x = XINT (lmx); | 2808 | *x = XFIXNUM (lmx); |
| 2809 | *y = XINT (lmy); | 2809 | *y = XFIXNUM (lmy); |
| 2810 | } | 2810 | } |
| 2811 | } | 2811 | } |
| 2812 | 2812 | ||
| @@ -3477,7 +3477,7 @@ tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y) | |||
| 3477 | pos = AREF (items, i + 3); | 3477 | pos = AREF (items, i + 3); |
| 3478 | if (NILP (str)) | 3478 | if (NILP (str)) |
| 3479 | return; | 3479 | return; |
| 3480 | ix = XINT (pos); | 3480 | ix = XFIXNUM (pos); |
| 3481 | if (ix <= *x | 3481 | if (ix <= *x |
| 3482 | /* We use <= so the blank between 2 items on a TTY is | 3482 | /* We use <= so the blank between 2 items on a TTY is |
| 3483 | considered part of the previous item. */ | 3483 | considered part of the previous item. */ |
| @@ -3488,14 +3488,14 @@ tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y) | |||
| 3488 | if (which == TTYM_NEXT) | 3488 | if (which == TTYM_NEXT) |
| 3489 | { | 3489 | { |
| 3490 | if (i < last_i) | 3490 | if (i < last_i) |
| 3491 | *x = XINT (AREF (items, i + 4 + 3)); | 3491 | *x = XFIXNUM (AREF (items, i + 4 + 3)); |
| 3492 | else | 3492 | else |
| 3493 | *x = 0; /* Wrap around to the first item. */ | 3493 | *x = 0; /* Wrap around to the first item. */ |
| 3494 | } | 3494 | } |
| 3495 | else if (prev_x < 0) | 3495 | else if (prev_x < 0) |
| 3496 | { | 3496 | { |
| 3497 | /* Wrap around to the last item. */ | 3497 | /* Wrap around to the last item. */ |
| 3498 | *x = XINT (AREF (items, last_i + 3)); | 3498 | *x = XFIXNUM (AREF (items, last_i + 3)); |
| 3499 | } | 3499 | } |
| 3500 | else | 3500 | else |
| 3501 | *x = prev_x; | 3501 | *x = prev_x; |