comparison src/fileio.c @ 11658:304577bc9b51

(Finsert_file_contents): Use file_truename for unlocking.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 May 1995 18:15:54 +0000
parents ddbe0702ea95
children 6945dfa38123
comparison
equal deleted inserted replaced
11657:ab5f12280452 11658:304577bc9b51
3054 current_buffer->auto_save_modified = MODIFF; 3054 current_buffer->auto_save_modified = MODIFF;
3055 XSETFASTINT (current_buffer->save_length, Z - BEG); 3055 XSETFASTINT (current_buffer->save_length, Z - BEG);
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 */
3064 if (not_regular) 3064 if (not_regular)
3065 Fsignal (Qfile_error, 3065 Fsignal (Qfile_error,