diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c index 983e14eb7fb..c6ff136602c 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -713,6 +713,8 @@ prepare_to_modify_buffer (start, end) #ifdef CLASH_DETECTION if (!NILP (current_buffer->file_truename) + /* Make binding buffer-file-name to nil effective. */ + && !NILP (current_buffer->filename) && SAVE_MODIFF >= MODIFF) lock_file (current_buffer->file_truename); #else |
