aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d1e285959e2..b4a464940c5 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3802,6 +3802,8 @@ variable `last-coding-system-used' to the coding system actually used. */)
3802 /* For a special file, all we can do is guess. */ 3802 /* For a special file, all we can do is guess. */
3803 total = READ_BUF_SIZE; 3803 total = READ_BUF_SIZE;
3804 3804
3805 /* FIXME: This if-statement is a no-op, because 'inserted' must be zero here
3806 (Bug#8496). */
3805 if (NILP (visit) && inserted > 0) 3807 if (NILP (visit) && inserted > 0)
3806 { 3808 {
3807#ifdef CLASH_DETECTION 3809#ifdef CLASH_DETECTION
@@ -3912,6 +3914,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3912 if (inserted == 0) 3914 if (inserted == 0)
3913 { 3915 {
3914#ifdef CLASH_DETECTION 3916#ifdef CLASH_DETECTION
3917 /* FIXME: This code is a no-op, too (Bug#8496). */
3915 if (we_locked_file) 3918 if (we_locked_file)
3916 unlock_file (BVAR (current_buffer, file_truename)); 3919 unlock_file (BVAR (current_buffer, file_truename));
3917#endif 3920#endif