Mercurial > emacs
comparison src/fileio.c @ 19206:c21764412813
(Fwrite_region): Turn off the feature of checking
whether another buffer has locked this file.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 07 Aug 1997 08:56:22 +0000 |
parents | 299ae0a2c4fd |
children | 8ece1f8d2ff6 |
comparison
equal
deleted
inserted
replaced
19205:7448901d6449 | 19206:c21764412813 |
---|---|
3908 } | 3908 } |
3909 | 3909 |
3910 #ifdef CLASH_DETECTION | 3910 #ifdef CLASH_DETECTION |
3911 if (!auto_saving) | 3911 if (!auto_saving) |
3912 { | 3912 { |
3913 #if 0 /* This causes trouble for GNUS. */ | |
3913 /* If we've locked this file for some other buffer, | 3914 /* If we've locked this file for some other buffer, |
3914 query before proceeding. */ | 3915 query before proceeding. */ |
3915 if (!visiting && EQ (Ffile_locked_p (lockname), Qt)) | 3916 if (!visiting && EQ (Ffile_locked_p (lockname), Qt)) |
3916 call2 (intern ("ask-user-about-lock"), filename, Vuser_login_name); | 3917 call2 (intern ("ask-user-about-lock"), filename, Vuser_login_name); |
3918 #endif | |
3917 | 3919 |
3918 lock_file (lockname); | 3920 lock_file (lockname); |
3919 } | 3921 } |
3920 #endif /* CLASH_DETECTION */ | 3922 #endif /* CLASH_DETECTION */ |
3921 | 3923 |