aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d88be20bd80..6ba82668549 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -674,7 +674,7 @@ A non-nil FLAG means mark the buffer modified.")
674 /* If buffer becoming modified, lock the file. 674 /* If buffer becoming modified, lock the file.
675 If buffer becoming unmodified, unlock the file. */ 675 If buffer becoming unmodified, unlock the file. */
676 676
677 fn = current_buffer->filename; 677 fn = current_buffer->file_truename;
678 if (!NILP (fn)) 678 if (!NILP (fn))
679 { 679 {
680 already = SAVE_MODIFF < MODIFF; 680 already = SAVE_MODIFF < MODIFF;