From: Richard M. Stallman Date: Tue, 2 May 1995 18:15:54 +0000 (+0000) Subject: (Finsert_file_contents): Use file_truename for unlocking. X-Git-Tag: emacs-19.34~4200 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f471f4c238fa324cf4f14aae61c2f65ce915d7b6;p=emacs.git (Finsert_file_contents): Use file_truename for unlocking. --- diff --git a/src/fileio.c b/src/fileio.c index a01ef67c221..3c4ed563fb0 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 */