Commit 60f4dd23 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fset_buffer_modified_p): Use the truename for locking.

parent f471f4c2
......@@ -674,7 +674,7 @@ A non-nil FLAG means mark the buffer modified.")
/* If buffer becoming modified, lock the file.
If buffer becoming unmodified, unlock the file. */
fn = current_buffer->filename;
fn = current_buffer->file_truename;
if (!NILP (fn))
{
already = SAVE_MODIFF < MODIFF;
......
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