Commit f471f4c2 authored by Richard M. Stallman's avatar Richard M. Stallman

(Finsert_file_contents): Use file_truename for unlocking.

parent f173b650
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment