From 60f4dd23c351b4554d77edb2986854ffc43a842f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 2 May 1995 18:16:30 +0000 Subject: [PATCH] (Fset_buffer_modified_p): Use the truename for locking. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.") /* If buffer becoming modified, lock the file. If buffer becoming unmodified, unlock the file. */ - fn = current_buffer->filename; + fn = current_buffer->file_truename; if (!NILP (fn)) { already = SAVE_MODIFF < MODIFF;