diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-02-14 19:35:21 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-02-14 19:35:21 +0200 |
commit | fc3ca11315448fa7310f064fd9953b943ae733bf (patch) | |
tree | d18258c434b781ae5c451f3c63ffc63983a2290b /src/insdel.c | |
parent | 3928f2b67e69cd22995558cc205a2fc6aa33d477 (diff) | |
download | emacs-fc3ca11315448fa7310f064fd9953b943ae733bf.tar.gz |
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/insdel.c')
-rw-r--r-- | src/insdel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insdel.c b/src/insdel.c index e127ea555fb..db997fc938e 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -2029,12 +2029,12 @@ prepare_to_modify_buffer (EMACS_INT start, EMACS_INT end, lock_file (B_ (base_buffer, file_truename)); #else /* At least warn if this file has changed on disk since it was visited. */ - if (!NILP (base_buffer->filename) + if (!NILP (B_ (base_buffer, filename)) && SAVE_MODIFF >= MODIFF && NILP (Fverify_visited_file_modtime (Fcurrent_buffer ())) - && !NILP (Ffile_exists_p (base_buffer->filename))) + && !NILP (Ffile_exists_p (B_ (base_buffer, filename)))) call1 (intern ("ask-user-about-supersession-threat"), - base_buffer->filename); + B_ (base_buffer,filename)); #endif /* not CLASH_DETECTION */ /* If `select-active-regions' is non-nil, save the region text. */ |