Mercurial > emacs
changeset 12621:e71c530e5ae5
(prepare_to_modify_buffer): Don't lock the file
if current_buffer->filename is nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 20 Jul 1995 20:47:20 +0000 |
parents | 7f74acc9dfeb |
children | 205232bb7efe |
files | src/insdel.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insdel.c Thu Jul 20 20:32:25 1995 +0000 +++ b/src/insdel.c Thu Jul 20 20:47:20 1995 +0000 @@ -713,6 +713,8 @@ #ifdef CLASH_DETECTION if (!NILP (current_buffer->file_truename) + /* Make binding buffer-file-name to nil effective. */ + && !NILP (current_buffer->filename) && SAVE_MODIFF >= MODIFF) lock_file (current_buffer->file_truename); #else