From fc3ca11315448fa7310f064fd9953b943ae733bf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 14 Feb 2011 19:35:21 +0200 Subject: 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. --- src/buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index fc2dd3a4691..49ae4bbede2 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", ¤t_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. -- cgit v1.2.1