aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2011-02-14 19:35:21 +0200
committerEli Zaretskii <[email protected]>2011-02-14 19:35:21 +0200
commitfc3ca11315448fa7310f064fd9953b943ae733bf (patch)
treed18258c434b781ae5c451f3c63ffc63983a2290b /src/buffer.c
parent3928f2b67e69cd22995558cc205a2fc6aa33d477 (diff)
Fix the MS-Windows build due to introduction of B_.
dired.c (directory_files_internal): fileio.c (Finsert_file_contents): insdel.c (prepare_to_modify_buffer): xdisp.c (pos_visible_p): s/ms-w32.h (MODE_LINE_BINARY_TEXT): w32fns.c (Fw32_shell_execute, Fx_show_tip, x_create_tip_frame): Use B_ for the MS-Windows build. From Tom Tromey: buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT case.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index fc2dd3a469..49ae4bbede 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5041,7 +5041,7 @@ init_buffer_once (void)
B_ (&buffer_defaults, cursor_in_non_selected_windows) = Qt;
#ifdef DOS_NT
- buffer_defaults.buffer_file_type = Qnil; /* TEXT */
+ B_ (&buffer_defaults, buffer_file_type) = Qnil; /* TEXT */
#endif
B_ (&buffer_defaults, enable_multibyte_characters) = Qt;
B_ (&buffer_defaults, buffer_file_coding_system) = Qnil;
@@ -5113,7 +5113,7 @@ init_buffer_once (void)
XSETFASTINT (B_ (&buffer_local_flags, abbrev_table), idx); ++idx;
XSETFASTINT (B_ (&buffer_local_flags, display_table), idx); ++idx;
#ifdef DOS_NT
- XSETFASTINT (buffer_local_flags.buffer_file_type, idx);
+ XSETFASTINT (B_ (&buffer_local_flags, buffer_file_type), idx);
/* Make this one a permanent local. */
buffer_permanent_local_flags[idx++] = 1;
#endif
@@ -5674,7 +5674,7 @@ word-wrapping, you might want to reduce the value of
in narrower windows. */);
#ifdef DOS_NT
- DEFVAR_PER_BUFFER ("buffer-file-type", &current_buffer->buffer_file_type,
+ DEFVAR_PER_BUFFER ("buffer-file-type", &B_ (current_buffer, buffer_file_type),
Qnil,
doc: /* Non-nil if the visited file is a binary file.
This variable is meaningful on MS-DOG and Windows NT.