aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-05-02 18:16:30 +0000
committerRichard M. Stallman <[email protected]>1995-05-02 18:16:30 +0000
commit60f4dd23c351b4554d77edb2986854ffc43a842f (patch)
tree0e70e0d0fa927cc1a2eba392d82c857b688949af /src/buffer.c
parentf471f4c238fa324cf4f14aae61c2f65ce915d7b6 (diff)
(Fset_buffer_modified_p): Use the truename for locking.
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 d88be20bd8..6ba8266854 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;