aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files 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.")
3056#ifdef CLASH_DETECTION 3056#ifdef CLASH_DETECTION
3057 if (NILP (handler)) 3057 if (NILP (handler))
3058 { 3058 {
3059 if (!NILP (current_buffer->filename)) 3059 if (!NILP (current_buffer->file_truename))
3060 unlock_file (current_buffer->filename); 3060 unlock_file (current_buffer->file_truename);
3061 unlock_file (filename); 3061 unlock_file (filename);
3062 } 3062 }
3063#endif /* CLASH_DETECTION */ 3063#endif /* CLASH_DETECTION */