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) | |||
| 713 | 713 | ||
| 714 | #ifdef CLASH_DETECTION | 714 | #ifdef CLASH_DETECTION |
| 715 | if (!NILP (current_buffer->file_truename) | 715 | if (!NILP (current_buffer->file_truename) |
| 716 | /* Make binding buffer-file-name to nil effective. */ | ||
| 717 | && !NILP (current_buffer->filename) | ||
| 716 | && SAVE_MODIFF >= MODIFF) | 718 | && SAVE_MODIFF >= MODIFF) |
| 717 | lock_file (current_buffer->file_truename); | 719 | lock_file (current_buffer->file_truename); |
| 718 | #else | 720 | #else |