changeset 11657:ab5f12280452

(prepare_to_modify_buffer): Use file_truename for locking.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 May 1995 18:13:47 +0000
parents a40849041718
children 304577bc9b51
files src/insdel.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Tue May 02 16:27:24 1995 +0000
+++ b/src/insdel.c	Tue May 02 18:13:47 1995 +0000
@@ -706,9 +706,9 @@
     verify_interval_modification (current_buffer, start, end);
 
 #ifdef CLASH_DETECTION
-  if (!NILP (current_buffer->filename)
+  if (!NILP (current_buffer->file_truename)
       && SAVE_MODIFF >= MODIFF)
-    lock_file (current_buffer->filename);
+    lock_file (current_buffer->file_truename);
 #else
   /* At least warn if this file has changed on disk since it was visited.  */
   if (!NILP (current_buffer->filename)