diff options
| author | Eli Zaretskii | 2011-02-14 19:35:21 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-14 19:35:21 +0200 |
| commit | fc3ca11315448fa7310f064fd9953b943ae733bf (patch) | |
| tree | d18258c434b781ae5c451f3c63ffc63983a2290b /src/buffer.c | |
| parent | 3928f2b67e69cd22995558cc205a2fc6aa33d477 (diff) | |
| download | emacs-fc3ca11315448fa7310f064fd9953b943ae733bf.tar.gz emacs-fc3ca11315448fa7310f064fd9953b943ae733bf.zip | |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
| 5041 | B_ (&buffer_defaults, cursor_in_non_selected_windows) = Qt; | 5041 | B_ (&buffer_defaults, cursor_in_non_selected_windows) = Qt; |
| 5042 | 5042 | ||
| 5043 | #ifdef DOS_NT | 5043 | #ifdef DOS_NT |
| 5044 | buffer_defaults.buffer_file_type = Qnil; /* TEXT */ | 5044 | B_ (&buffer_defaults, buffer_file_type) = Qnil; /* TEXT */ |
| 5045 | #endif | 5045 | #endif |
| 5046 | B_ (&buffer_defaults, enable_multibyte_characters) = Qt; | 5046 | B_ (&buffer_defaults, enable_multibyte_characters) = Qt; |
| 5047 | B_ (&buffer_defaults, buffer_file_coding_system) = Qnil; | 5047 | B_ (&buffer_defaults, buffer_file_coding_system) = Qnil; |
| @@ -5113,7 +5113,7 @@ init_buffer_once (void) | |||
| 5113 | XSETFASTINT (B_ (&buffer_local_flags, abbrev_table), idx); ++idx; | 5113 | XSETFASTINT (B_ (&buffer_local_flags, abbrev_table), idx); ++idx; |
| 5114 | XSETFASTINT (B_ (&buffer_local_flags, display_table), idx); ++idx; | 5114 | XSETFASTINT (B_ (&buffer_local_flags, display_table), idx); ++idx; |
| 5115 | #ifdef DOS_NT | 5115 | #ifdef DOS_NT |
| 5116 | XSETFASTINT (buffer_local_flags.buffer_file_type, idx); | 5116 | XSETFASTINT (B_ (&buffer_local_flags, buffer_file_type), idx); |
| 5117 | /* Make this one a permanent local. */ | 5117 | /* Make this one a permanent local. */ |
| 5118 | buffer_permanent_local_flags[idx++] = 1; | 5118 | buffer_permanent_local_flags[idx++] = 1; |
| 5119 | #endif | 5119 | #endif |
| @@ -5674,7 +5674,7 @@ word-wrapping, you might want to reduce the value of | |||
| 5674 | in narrower windows. */); | 5674 | in narrower windows. */); |
| 5675 | 5675 | ||
| 5676 | #ifdef DOS_NT | 5676 | #ifdef DOS_NT |
| 5677 | DEFVAR_PER_BUFFER ("buffer-file-type", ¤t_buffer->buffer_file_type, | 5677 | DEFVAR_PER_BUFFER ("buffer-file-type", &B_ (current_buffer, buffer_file_type), |
| 5678 | Qnil, | 5678 | Qnil, |
| 5679 | doc: /* Non-nil if the visited file is a binary file. | 5679 | doc: /* Non-nil if the visited file is a binary file. |
| 5680 | This variable is meaningful on MS-DOG and Windows NT. | 5680 | This variable is meaningful on MS-DOG and Windows NT. |