]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_buffer_modified_p): Use the truename for locking.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 May 1995 18:16:30 +0000 (18:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 May 1995 18:16:30 +0000 (18:16 +0000)
src/buffer.c

index d88be20bd80d5c93bc6e988be574eb3ebaae8c03..6ba826685491ad84962eb5d051703af40a94eb4f 100644 (file)
@@ -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;