aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman1995-05-02 18:16:30 +0000
committerRichard M. Stallman1995-05-02 18:16:30 +0000
commit60f4dd23c351b4554d77edb2986854ffc43a842f (patch)
tree0e70e0d0fa927cc1a2eba392d82c857b688949af /src/buffer.c
parentf471f4c238fa324cf4f14aae61c2f65ce915d7b6 (diff)
downloademacs-60f4dd23c351b4554d77edb2986854ffc43a842f.tar.gz
emacs-60f4dd23c351b4554d77edb2986854ffc43a842f.zip
(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 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;