Commit ab6c5c0c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(prepare_to_modify_buffer): Don't lock the file

if current_buffer->filename is nil.
parent 2d475b5f
......@@ -713,6 +713,8 @@ prepare_to_modify_buffer (start, end)
if (!NILP (current_buffer->file_truename)
/* Make binding buffer-file-name to nil effective. */
&& !NILP (current_buffer->filename)
lock_file (current_buffer->file_truename);
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