aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-07 08:56:22 +0000
committerRichard M. Stallman1997-08-07 08:56:22 +0000
commita9171faac4d84a536cc03b0232a297160a57dc88 (patch)
tree9ea515edfbdeea849946f99a60a2c80f187deb3a /src
parentd45de95b21f3743e36915f4d58f6cef0f54c1c38 (diff)
downloademacs-a9171faac4d84a536cc03b0232a297160a57dc88.tar.gz
emacs-a9171faac4d84a536cc03b0232a297160a57dc88.zip
(Fwrite_region): Turn off the feature of checking
whether another buffer has locked this file.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 9ad7a42ea2a..229e85352ec 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3910,10 +3910,12 @@ to the file, instead of any buffer contents, and END is ignored.")
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 }