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:
parent
f471f4c238
commit
60f4dd23c3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user