comparison src/buffer.c @ 11659:f9b6e65774e7

(Fset_buffer_modified_p): Use the truename for locking.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 May 1995 18:16:30 +0000
parents 24ede15e0aaa
children efef31f1c42d
comparison
equal deleted inserted replaced
11658:304577bc9b51 11659:f9b6e65774e7
672 672
673 #ifdef CLASH_DETECTION 673 #ifdef CLASH_DETECTION
674 /* If buffer becoming modified, lock the file. 674 /* If buffer becoming modified, lock the file.
675 If buffer becoming unmodified, unlock the file. */ 675 If buffer becoming unmodified, unlock the file. */
676 676
677 fn = current_buffer->filename; 677 fn = current_buffer->file_truename;
678 if (!NILP (fn)) 678 if (!NILP (fn))
679 { 679 {
680 already = SAVE_MODIFF < MODIFF; 680 already = SAVE_MODIFF < MODIFF;
681 if (!already && !NILP (flag)) 681 if (!already && !NILP (flag))
682 lock_file (fn); 682 lock_file (fn);