From f471f4c238fa324cf4f14aae61c2f65ce915d7b6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 2 May 1995 18:15:54 +0000 Subject: [PATCH] (Finsert_file_contents): Use file_truename for unlocking. --- src/fileio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.39.5