1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00

(Fset_buffer_modified_p): Use the truename for locking.

This commit is contained in:
Richard M. Stallman 1995-05-02 18:16:30 +00:00
parent f471f4c238
commit 60f4dd23c3

View File

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