]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): Use file_truename for unlocking.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 May 1995 18:15:54 +0000 (18:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 May 1995 18:15:54 +0000 (18:15 +0000)
src/fileio.c

index a01ef67c221d7fce1066647a922ccb7f841093c4..3c4ed563fb0827d7c36063705101e6b502ae09b5 100644 (file)
@@ -3056,8 +3056,8 @@ and (2) it puts less data in the undo list.")
 #ifdef CLASH_DETECTION
       if (NILP (handler))
        {
-         if (!NILP (current_buffer->filename))
-           unlock_file (current_buffer->filename);
+         if (!NILP (current_buffer->file_truename))
+           unlock_file (current_buffer->file_truename);
          unlock_file (filename);
        }
 #endif /* CLASH_DETECTION */