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/buffer.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/buffer.c')
| -rw-r--r-- | src/buffer.c | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/src/buffer.c b/src/buffer.c index 244c1851fab..29248855632 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -849,7 +849,7 @@ CLONE nil means the indirect buffer's state is reset to default values. */) | |||
| 849 | clone_per_buffer_values (b->base_buffer, b); | 849 | clone_per_buffer_values (b->base_buffer, b); |
| 850 | bset_filename (b, Qnil); | 850 | bset_filename (b, Qnil); |
| 851 | bset_file_truename (b, Qnil); | 851 | bset_file_truename (b, Qnil); |
| 852 | bset_display_count (b, make_number (0)); | 852 | bset_display_count (b, make_fixnum (0)); |
| 853 | bset_backed_up (b, Qnil); | 853 | bset_backed_up (b, Qnil); |
| 854 | bset_auto_save_file_name (b, Qnil); | 854 | bset_auto_save_file_name (b, Qnil); |
| 855 | set_buffer_internal_1 (b); | 855 | set_buffer_internal_1 (b); |
| @@ -939,7 +939,7 @@ reset_buffer (register struct buffer *b) | |||
| 939 | bset_file_format (b, Qnil); | 939 | bset_file_format (b, Qnil); |
| 940 | bset_auto_save_file_format (b, Qt); | 940 | bset_auto_save_file_format (b, Qt); |
| 941 | bset_last_selected_window (b, Qnil); | 941 | bset_last_selected_window (b, Qnil); |
| 942 | bset_display_count (b, make_number (0)); | 942 | bset_display_count (b, make_fixnum (0)); |
| 943 | bset_display_time (b, Qnil); | 943 | bset_display_time (b, Qnil); |
| 944 | bset_enable_multibyte_characters | 944 | bset_enable_multibyte_characters |
| 945 | (b, BVAR (&buffer_defaults, enable_multibyte_characters)); | 945 | (b, BVAR (&buffer_defaults, enable_multibyte_characters)); |
| @@ -1103,7 +1103,7 @@ is first appended to NAME, to speed up finding a non-existent buffer. */) | |||
| 1103 | char number[sizeof "-999999"]; | 1103 | char number[sizeof "-999999"]; |
| 1104 | 1104 | ||
| 1105 | /* Use XINT instead of XFASTINT to work around GCC bug 80776. */ | 1105 | /* Use XINT instead of XFASTINT to work around GCC bug 80776. */ |
| 1106 | int i = XINT (Frandom (make_number (1000000))); | 1106 | int i = XINT (Frandom (make_fixnum (1000000))); |
| 1107 | eassume (0 <= i && i < 1000000); | 1107 | eassume (0 <= i && i < 1000000); |
| 1108 | 1108 | ||
| 1109 | AUTO_STRING_WITH_LEN (lnumber, number, sprintf (number, "-%d", i)); | 1109 | AUTO_STRING_WITH_LEN (lnumber, number, sprintf (number, "-%d", i)); |
| @@ -1421,7 +1421,7 @@ text in that buffer is changed. It wraps around occasionally. | |||
| 1421 | No argument or nil as argument means use current buffer as BUFFER. */) | 1421 | No argument or nil as argument means use current buffer as BUFFER. */) |
| 1422 | (register Lisp_Object buffer) | 1422 | (register Lisp_Object buffer) |
| 1423 | { | 1423 | { |
| 1424 | return make_number (BUF_MODIFF (decode_buffer (buffer))); | 1424 | return make_fixnum (BUF_MODIFF (decode_buffer (buffer))); |
| 1425 | } | 1425 | } |
| 1426 | 1426 | ||
| 1427 | DEFUN ("buffer-chars-modified-tick", Fbuffer_chars_modified_tick, | 1427 | DEFUN ("buffer-chars-modified-tick", Fbuffer_chars_modified_tick, |
| @@ -1436,7 +1436,7 @@ between these calls. No argument or nil as argument means use current | |||
| 1436 | buffer as BUFFER. */) | 1436 | buffer as BUFFER. */) |
| 1437 | (register Lisp_Object buffer) | 1437 | (register Lisp_Object buffer) |
| 1438 | { | 1438 | { |
| 1439 | return make_number (BUF_CHARS_MODIFF (decode_buffer (buffer))); | 1439 | return make_fixnum (BUF_CHARS_MODIFF (decode_buffer (buffer))); |
| 1440 | } | 1440 | } |
| 1441 | 1441 | ||
| 1442 | DEFUN ("rename-buffer", Frename_buffer, Srename_buffer, 1, 2, | 1442 | DEFUN ("rename-buffer", Frename_buffer, Srename_buffer, 1, 2, |
| @@ -2203,7 +2203,7 @@ If the text under POSITION (which defaults to point) has the | |||
| 2203 | if (NILP (position)) | 2203 | if (NILP (position)) |
| 2204 | XSETFASTINT (position, PT); | 2204 | XSETFASTINT (position, PT); |
| 2205 | else | 2205 | else |
| 2206 | CHECK_NUMBER (position); | 2206 | CHECK_FIXNUM (position); |
| 2207 | 2207 | ||
| 2208 | if (!NILP (BVAR (current_buffer, read_only)) | 2208 | if (!NILP (BVAR (current_buffer, read_only)) |
| 2209 | && NILP (Vinhibit_read_only) | 2209 | && NILP (Vinhibit_read_only) |
| @@ -2233,8 +2233,8 @@ so the buffer is truly empty after this. */) | |||
| 2233 | void | 2233 | void |
| 2234 | validate_region (register Lisp_Object *b, register Lisp_Object *e) | 2234 | validate_region (register Lisp_Object *b, register Lisp_Object *e) |
| 2235 | { | 2235 | { |
| 2236 | CHECK_NUMBER_COERCE_MARKER (*b); | 2236 | CHECK_FIXNUM_COERCE_MARKER (*b); |
| 2237 | CHECK_NUMBER_COERCE_MARKER (*e); | 2237 | CHECK_FIXNUM_COERCE_MARKER (*e); |
| 2238 | 2238 | ||
| 2239 | if (XINT (*b) > XINT (*e)) | 2239 | if (XINT (*b) > XINT (*e)) |
| 2240 | { | 2240 | { |
| @@ -2409,7 +2409,7 @@ results, see Info node `(elisp)Swapping Text'. */) | |||
| 2409 | && (EQ (XWINDOW (w)->contents, buf1) | 2409 | && (EQ (XWINDOW (w)->contents, buf1) |
| 2410 | || EQ (XWINDOW (w)->contents, buf2))) | 2410 | || EQ (XWINDOW (w)->contents, buf2))) |
| 2411 | Fset_marker (XWINDOW (w)->pointm, | 2411 | Fset_marker (XWINDOW (w)->pointm, |
| 2412 | make_number | 2412 | make_fixnum |
| 2413 | (BUF_BEGV (XBUFFER (XWINDOW (w)->contents))), | 2413 | (BUF_BEGV (XBUFFER (XWINDOW (w)->contents))), |
| 2414 | XWINDOW (w)->contents); | 2414 | XWINDOW (w)->contents); |
| 2415 | /* Blindly copied from pointm part. */ | 2415 | /* Blindly copied from pointm part. */ |
| @@ -2417,14 +2417,14 @@ results, see Info node `(elisp)Swapping Text'. */) | |||
| 2417 | && (EQ (XWINDOW (w)->contents, buf1) | 2417 | && (EQ (XWINDOW (w)->contents, buf1) |
| 2418 | || EQ (XWINDOW (w)->contents, buf2))) | 2418 | || EQ (XWINDOW (w)->contents, buf2))) |
| 2419 | Fset_marker (XWINDOW (w)->old_pointm, | 2419 | Fset_marker (XWINDOW (w)->old_pointm, |
| 2420 | make_number | 2420 | make_fixnum |
| 2421 | (BUF_BEGV (XBUFFER (XWINDOW (w)->contents))), | 2421 | (BUF_BEGV (XBUFFER (XWINDOW (w)->contents))), |
| 2422 | XWINDOW (w)->contents); | 2422 | XWINDOW (w)->contents); |
| 2423 | if (MARKERP (XWINDOW (w)->start) | 2423 | if (MARKERP (XWINDOW (w)->start) |
| 2424 | && (EQ (XWINDOW (w)->contents, buf1) | 2424 | && (EQ (XWINDOW (w)->contents, buf1) |
| 2425 | || EQ (XWINDOW (w)->contents, buf2))) | 2425 | || EQ (XWINDOW (w)->contents, buf2))) |
| 2426 | Fset_marker (XWINDOW (w)->start, | 2426 | Fset_marker (XWINDOW (w)->start, |
| 2427 | make_number | 2427 | make_fixnum |
| 2428 | (XBUFFER (XWINDOW (w)->contents)->last_window_start), | 2428 | (XBUFFER (XWINDOW (w)->contents)->last_window_start), |
| 2429 | XWINDOW (w)->contents); | 2429 | XWINDOW (w)->contents); |
| 2430 | w = Fnext_window (w, Qt, Qt); | 2430 | w = Fnext_window (w, Qt, Qt); |
| @@ -2547,7 +2547,7 @@ current buffer is cleared. */) | |||
| 2547 | } | 2547 | } |
| 2548 | } | 2548 | } |
| 2549 | if (narrowed) | 2549 | if (narrowed) |
| 2550 | Fnarrow_to_region (make_number (begv), make_number (zv)); | 2550 | Fnarrow_to_region (make_fixnum (begv), make_fixnum (zv)); |
| 2551 | } | 2551 | } |
| 2552 | else | 2552 | else |
| 2553 | { | 2553 | { |
| @@ -2628,7 +2628,7 @@ current buffer is cleared. */) | |||
| 2628 | TEMP_SET_PT (pt); | 2628 | TEMP_SET_PT (pt); |
| 2629 | 2629 | ||
| 2630 | if (narrowed) | 2630 | if (narrowed) |
| 2631 | Fnarrow_to_region (make_number (begv), make_number (zv)); | 2631 | Fnarrow_to_region (make_fixnum (begv), make_fixnum (zv)); |
| 2632 | 2632 | ||
| 2633 | /* Do this first, so that chars_in_text asks the right question. | 2633 | /* Do this first, so that chars_in_text asks the right question. |
| 2634 | set_intervals_multibyte needs it too. */ | 2634 | set_intervals_multibyte needs it too. */ |
| @@ -3212,7 +3212,7 @@ sort_overlays (Lisp_Object *overlay_vec, ptrdiff_t noverlays, struct window *w) | |||
| 3212 | sortvec[j].priority = 0; | 3212 | sortvec[j].priority = 0; |
| 3213 | sortvec[j].spriority = 0; | 3213 | sortvec[j].spriority = 0; |
| 3214 | } | 3214 | } |
| 3215 | else if (INTEGERP (tem)) | 3215 | else if (FIXNUMP (tem)) |
| 3216 | { | 3216 | { |
| 3217 | sortvec[j].priority = XINT (tem); | 3217 | sortvec[j].priority = XINT (tem); |
| 3218 | sortvec[j].spriority = 0; | 3218 | sortvec[j].spriority = 0; |
| @@ -3221,8 +3221,8 @@ sort_overlays (Lisp_Object *overlay_vec, ptrdiff_t noverlays, struct window *w) | |||
| 3221 | { | 3221 | { |
| 3222 | Lisp_Object car = XCAR (tem); | 3222 | Lisp_Object car = XCAR (tem); |
| 3223 | Lisp_Object cdr = XCDR (tem); | 3223 | Lisp_Object cdr = XCDR (tem); |
| 3224 | sortvec[j].priority = INTEGERP (car) ? XINT (car) : 0; | 3224 | sortvec[j].priority = FIXNUMP (car) ? XINT (car) : 0; |
| 3225 | sortvec[j].spriority = INTEGERP (cdr) ? XINT (cdr) : 0; | 3225 | sortvec[j].spriority = FIXNUMP (cdr) ? XINT (cdr) : 0; |
| 3226 | } | 3226 | } |
| 3227 | j++; | 3227 | j++; |
| 3228 | } | 3228 | } |
| @@ -3290,7 +3290,7 @@ record_overlay_string (struct sortstrlist *ssl, Lisp_Object str, | |||
| 3290 | ssl->buf[ssl->used].string = str; | 3290 | ssl->buf[ssl->used].string = str; |
| 3291 | ssl->buf[ssl->used].string2 = str2; | 3291 | ssl->buf[ssl->used].string2 = str2; |
| 3292 | ssl->buf[ssl->used].size = size; | 3292 | ssl->buf[ssl->used].size = size; |
| 3293 | ssl->buf[ssl->used].priority = (INTEGERP (pri) ? XINT (pri) : 0); | 3293 | ssl->buf[ssl->used].priority = (FIXNUMP (pri) ? XINT (pri) : 0); |
| 3294 | ssl->used++; | 3294 | ssl->used++; |
| 3295 | 3295 | ||
| 3296 | if (NILP (BVAR (current_buffer, enable_multibyte_characters))) | 3296 | if (NILP (BVAR (current_buffer, enable_multibyte_characters))) |
| @@ -3644,7 +3644,7 @@ fix_start_end_in_overlays (register ptrdiff_t start, register ptrdiff_t end) | |||
| 3644 | if (endpos < startpos) | 3644 | if (endpos < startpos) |
| 3645 | { | 3645 | { |
| 3646 | startpos = endpos; | 3646 | startpos = endpos; |
| 3647 | Fset_marker (OVERLAY_START (overlay), make_number (startpos), | 3647 | Fset_marker (OVERLAY_START (overlay), make_fixnum (startpos), |
| 3648 | Qnil); | 3648 | Qnil); |
| 3649 | } | 3649 | } |
| 3650 | 3650 | ||
| @@ -3692,7 +3692,7 @@ fix_start_end_in_overlays (register ptrdiff_t start, register ptrdiff_t end) | |||
| 3692 | if (endpos < startpos) | 3692 | if (endpos < startpos) |
| 3693 | { | 3693 | { |
| 3694 | startpos = endpos; | 3694 | startpos = endpos; |
| 3695 | Fset_marker (OVERLAY_START (overlay), make_number (startpos), | 3695 | Fset_marker (OVERLAY_START (overlay), make_fixnum (startpos), |
| 3696 | Qnil); | 3696 | Qnil); |
| 3697 | } | 3697 | } |
| 3698 | 3698 | ||
| @@ -3867,8 +3867,8 @@ for the rear of the overlay advance when text is inserted there | |||
| 3867 | if (MARKERP (end) && !EQ (Fmarker_buffer (end), buffer)) | 3867 | if (MARKERP (end) && !EQ (Fmarker_buffer (end), buffer)) |
| 3868 | signal_error ("Marker points into wrong buffer", end); | 3868 | signal_error ("Marker points into wrong buffer", end); |
| 3869 | 3869 | ||
| 3870 | CHECK_NUMBER_COERCE_MARKER (beg); | 3870 | CHECK_FIXNUM_COERCE_MARKER (beg); |
| 3871 | CHECK_NUMBER_COERCE_MARKER (end); | 3871 | CHECK_FIXNUM_COERCE_MARKER (end); |
| 3872 | 3872 | ||
| 3873 | if (XINT (beg) > XINT (end)) | 3873 | if (XINT (beg) > XINT (end)) |
| 3874 | { | 3874 | { |
| @@ -3987,8 +3987,8 @@ buffer. */) | |||
| 3987 | if (MARKERP (end) && !EQ (Fmarker_buffer (end), buffer)) | 3987 | if (MARKERP (end) && !EQ (Fmarker_buffer (end), buffer)) |
| 3988 | signal_error ("Marker points into wrong buffer", end); | 3988 | signal_error ("Marker points into wrong buffer", end); |
| 3989 | 3989 | ||
| 3990 | CHECK_NUMBER_COERCE_MARKER (beg); | 3990 | CHECK_FIXNUM_COERCE_MARKER (beg); |
| 3991 | CHECK_NUMBER_COERCE_MARKER (end); | 3991 | CHECK_FIXNUM_COERCE_MARKER (end); |
| 3992 | 3992 | ||
| 3993 | if (XINT (beg) > XINT (end)) | 3993 | if (XINT (beg) > XINT (end)) |
| 3994 | { | 3994 | { |
| @@ -4156,7 +4156,7 @@ If SORTED is non-nil, then sort them by decreasing priority. */) | |||
| 4156 | Lisp_Object *overlay_vec; | 4156 | Lisp_Object *overlay_vec; |
| 4157 | Lisp_Object result; | 4157 | Lisp_Object result; |
| 4158 | 4158 | ||
| 4159 | CHECK_NUMBER_COERCE_MARKER (pos); | 4159 | CHECK_FIXNUM_COERCE_MARKER (pos); |
| 4160 | 4160 | ||
| 4161 | if (!buffer_has_overlays ()) | 4161 | if (!buffer_has_overlays ()) |
| 4162 | return Qnil; | 4162 | return Qnil; |
| @@ -4200,8 +4200,8 @@ end of the buffer. */) | |||
| 4200 | Lisp_Object *overlay_vec; | 4200 | Lisp_Object *overlay_vec; |
| 4201 | Lisp_Object result; | 4201 | Lisp_Object result; |
| 4202 | 4202 | ||
| 4203 | CHECK_NUMBER_COERCE_MARKER (beg); | 4203 | CHECK_FIXNUM_COERCE_MARKER (beg); |
| 4204 | CHECK_NUMBER_COERCE_MARKER (end); | 4204 | CHECK_FIXNUM_COERCE_MARKER (end); |
| 4205 | 4205 | ||
| 4206 | if (!buffer_has_overlays ()) | 4206 | if (!buffer_has_overlays ()) |
| 4207 | return Qnil; | 4207 | return Qnil; |
| @@ -4232,10 +4232,10 @@ the value is (point-max). */) | |||
| 4232 | ptrdiff_t endpos; | 4232 | ptrdiff_t endpos; |
| 4233 | Lisp_Object *overlay_vec; | 4233 | Lisp_Object *overlay_vec; |
| 4234 | 4234 | ||
| 4235 | CHECK_NUMBER_COERCE_MARKER (pos); | 4235 | CHECK_FIXNUM_COERCE_MARKER (pos); |
| 4236 | 4236 | ||
| 4237 | if (!buffer_has_overlays ()) | 4237 | if (!buffer_has_overlays ()) |
| 4238 | return make_number (ZV); | 4238 | return make_fixnum (ZV); |
| 4239 | 4239 | ||
| 4240 | len = 10; | 4240 | len = 10; |
| 4241 | overlay_vec = xmalloc (len * sizeof *overlay_vec); | 4241 | overlay_vec = xmalloc (len * sizeof *overlay_vec); |
| @@ -4260,7 +4260,7 @@ the value is (point-max). */) | |||
| 4260 | } | 4260 | } |
| 4261 | 4261 | ||
| 4262 | xfree (overlay_vec); | 4262 | xfree (overlay_vec); |
| 4263 | return make_number (endpos); | 4263 | return make_fixnum (endpos); |
| 4264 | } | 4264 | } |
| 4265 | 4265 | ||
| 4266 | DEFUN ("previous-overlay-change", Fprevious_overlay_change, | 4266 | DEFUN ("previous-overlay-change", Fprevious_overlay_change, |
| @@ -4274,10 +4274,10 @@ the value is (point-min). */) | |||
| 4274 | Lisp_Object *overlay_vec; | 4274 | Lisp_Object *overlay_vec; |
| 4275 | ptrdiff_t len; | 4275 | ptrdiff_t len; |
| 4276 | 4276 | ||
| 4277 | CHECK_NUMBER_COERCE_MARKER (pos); | 4277 | CHECK_FIXNUM_COERCE_MARKER (pos); |
| 4278 | 4278 | ||
| 4279 | if (!buffer_has_overlays ()) | 4279 | if (!buffer_has_overlays ()) |
| 4280 | return make_number (BEGV); | 4280 | return make_fixnum (BEGV); |
| 4281 | 4281 | ||
| 4282 | /* At beginning of buffer, we know the answer; | 4282 | /* At beginning of buffer, we know the answer; |
| 4283 | avoid bug subtracting 1 below. */ | 4283 | avoid bug subtracting 1 below. */ |
| @@ -4294,7 +4294,7 @@ the value is (point-min). */) | |||
| 4294 | 0, &prevpos, 1); | 4294 | 0, &prevpos, 1); |
| 4295 | 4295 | ||
| 4296 | xfree (overlay_vec); | 4296 | xfree (overlay_vec); |
| 4297 | return make_number (prevpos); | 4297 | return make_fixnum (prevpos); |
| 4298 | } | 4298 | } |
| 4299 | 4299 | ||
| 4300 | /* These functions are for debugging overlays. */ | 4300 | /* These functions are for debugging overlays. */ |
| @@ -4332,7 +4332,7 @@ for positions far away from POS). */) | |||
| 4332 | (Lisp_Object pos) | 4332 | (Lisp_Object pos) |
| 4333 | { | 4333 | { |
| 4334 | ptrdiff_t p; | 4334 | ptrdiff_t p; |
| 4335 | CHECK_NUMBER_COERCE_MARKER (pos); | 4335 | CHECK_FIXNUM_COERCE_MARKER (pos); |
| 4336 | 4336 | ||
| 4337 | p = clip_to_bounds (PTRDIFF_MIN, XINT (pos), PTRDIFF_MAX); | 4337 | p = clip_to_bounds (PTRDIFF_MIN, XINT (pos), PTRDIFF_MAX); |
| 4338 | recenter_overlay_lists (current_buffer, p); | 4338 | recenter_overlay_lists (current_buffer, p); |
| @@ -5082,41 +5082,41 @@ init_buffer_once (void) | |||
| 5082 | 5082 | ||
| 5083 | /* 0 means not a lisp var, -1 means always local, else mask. */ | 5083 | /* 0 means not a lisp var, -1 means always local, else mask. */ |
| 5084 | memset (&buffer_local_flags, 0, sizeof buffer_local_flags); | 5084 | memset (&buffer_local_flags, 0, sizeof buffer_local_flags); |
| 5085 | bset_filename (&buffer_local_flags, make_number (-1)); | 5085 | bset_filename (&buffer_local_flags, make_fixnum (-1)); |
| 5086 | bset_directory (&buffer_local_flags, make_number (-1)); | 5086 | bset_directory (&buffer_local_flags, make_fixnum (-1)); |
| 5087 | bset_backed_up (&buffer_local_flags, make_number (-1)); | 5087 | bset_backed_up (&buffer_local_flags, make_fixnum (-1)); |
| 5088 | bset_save_length (&buffer_local_flags, make_number (-1)); | 5088 | bset_save_length (&buffer_local_flags, make_fixnum (-1)); |
| 5089 | bset_auto_save_file_name (&buffer_local_flags, make_number (-1)); | 5089 | bset_auto_save_file_name (&buffer_local_flags, make_fixnum (-1)); |
| 5090 | bset_read_only (&buffer_local_flags, make_number (-1)); | 5090 | bset_read_only (&buffer_local_flags, make_fixnum (-1)); |
| 5091 | bset_major_mode (&buffer_local_flags, make_number (-1)); | 5091 | bset_major_mode (&buffer_local_flags, make_fixnum (-1)); |
| 5092 | bset_mode_name (&buffer_local_flags, make_number (-1)); | 5092 | bset_mode_name (&buffer_local_flags, make_fixnum (-1)); |
| 5093 | bset_undo_list (&buffer_local_flags, make_number (-1)); | 5093 | bset_undo_list (&buffer_local_flags, make_fixnum (-1)); |
| 5094 | bset_mark_active (&buffer_local_flags, make_number (-1)); | 5094 | bset_mark_active (&buffer_local_flags, make_fixnum (-1)); |
| 5095 | bset_point_before_scroll (&buffer_local_flags, make_number (-1)); | 5095 | bset_point_before_scroll (&buffer_local_flags, make_fixnum (-1)); |
| 5096 | bset_file_truename (&buffer_local_flags, make_number (-1)); | 5096 | bset_file_truename (&buffer_local_flags, make_fixnum (-1)); |
| 5097 | bset_invisibility_spec (&buffer_local_flags, make_number (-1)); | 5097 | bset_invisibility_spec (&buffer_local_flags, make_fixnum (-1)); |
| 5098 | bset_file_format (&buffer_local_flags, make_number (-1)); | 5098 | bset_file_format (&buffer_local_flags, make_fixnum (-1)); |
| 5099 | bset_auto_save_file_format (&buffer_local_flags, make_number (-1)); | 5099 | bset_auto_save_file_format (&buffer_local_flags, make_fixnum (-1)); |
| 5100 | bset_display_count (&buffer_local_flags, make_number (-1)); | 5100 | bset_display_count (&buffer_local_flags, make_fixnum (-1)); |
| 5101 | bset_display_time (&buffer_local_flags, make_number (-1)); | 5101 | bset_display_time (&buffer_local_flags, make_fixnum (-1)); |
| 5102 | bset_enable_multibyte_characters (&buffer_local_flags, make_number (-1)); | 5102 | bset_enable_multibyte_characters (&buffer_local_flags, make_fixnum (-1)); |
| 5103 | 5103 | ||
| 5104 | /* These used to be stuck at 0 by default, but now that the all-zero value | 5104 | /* These used to be stuck at 0 by default, but now that the all-zero value |
| 5105 | means Qnil, we have to initialize them explicitly. */ | 5105 | means Qnil, we have to initialize them explicitly. */ |
| 5106 | bset_name (&buffer_local_flags, make_number (0)); | 5106 | bset_name (&buffer_local_flags, make_fixnum (0)); |
| 5107 | bset_mark (&buffer_local_flags, make_number (0)); | 5107 | bset_mark (&buffer_local_flags, make_fixnum (0)); |
| 5108 | bset_local_var_alist (&buffer_local_flags, make_number (0)); | 5108 | bset_local_var_alist (&buffer_local_flags, make_fixnum (0)); |
| 5109 | bset_keymap (&buffer_local_flags, make_number (0)); | 5109 | bset_keymap (&buffer_local_flags, make_fixnum (0)); |
| 5110 | bset_downcase_table (&buffer_local_flags, make_number (0)); | 5110 | bset_downcase_table (&buffer_local_flags, make_fixnum (0)); |
| 5111 | bset_upcase_table (&buffer_local_flags, make_number (0)); | 5111 | bset_upcase_table (&buffer_local_flags, make_fixnum (0)); |
| 5112 | bset_case_canon_table (&buffer_local_flags, make_number (0)); | 5112 | bset_case_canon_table (&buffer_local_flags, make_fixnum (0)); |
| 5113 | bset_case_eqv_table (&buffer_local_flags, make_number (0)); | 5113 | bset_case_eqv_table (&buffer_local_flags, make_fixnum (0)); |
| 5114 | bset_minor_modes (&buffer_local_flags, make_number (0)); | 5114 | bset_minor_modes (&buffer_local_flags, make_fixnum (0)); |
| 5115 | bset_width_table (&buffer_local_flags, make_number (0)); | 5115 | bset_width_table (&buffer_local_flags, make_fixnum (0)); |
| 5116 | bset_pt_marker (&buffer_local_flags, make_number (0)); | 5116 | bset_pt_marker (&buffer_local_flags, make_fixnum (0)); |
| 5117 | bset_begv_marker (&buffer_local_flags, make_number (0)); | 5117 | bset_begv_marker (&buffer_local_flags, make_fixnum (0)); |
| 5118 | bset_zv_marker (&buffer_local_flags, make_number (0)); | 5118 | bset_zv_marker (&buffer_local_flags, make_fixnum (0)); |
| 5119 | bset_last_selected_window (&buffer_local_flags, make_number (0)); | 5119 | bset_last_selected_window (&buffer_local_flags, make_fixnum (0)); |
| 5120 | 5120 | ||
| 5121 | idx = 1; | 5121 | idx = 1; |
| 5122 | XSETFASTINT (BVAR (&buffer_local_flags, mode_line_format), idx); ++idx; | 5122 | XSETFASTINT (BVAR (&buffer_local_flags, mode_line_format), idx); ++idx; |
| @@ -5443,7 +5443,7 @@ syms_of_buffer (void) | |||
| 5443 | { | 5443 | { |
| 5444 | staticpro (&last_overlay_modification_hooks); | 5444 | staticpro (&last_overlay_modification_hooks); |
| 5445 | last_overlay_modification_hooks | 5445 | last_overlay_modification_hooks |
| 5446 | = Fmake_vector (make_number (10), Qnil); | 5446 | = Fmake_vector (make_fixnum (10), Qnil); |
| 5447 | 5447 | ||
| 5448 | staticpro (&QSFundamental); | 5448 | staticpro (&QSFundamental); |
| 5449 | staticpro (&Vbuffer_alist); | 5449 | staticpro (&Vbuffer_alist); |