Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ab6c5c0c
Commit
ab6c5c0c
authored
Jul 20, 1995
by
Richard M. Stallman
Browse files
(prepare_to_modify_buffer): Don't lock the file
if current_buffer->filename is nil.
parent
2d475b5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/insdel.c
src/insdel.c
+2
-0
No files found.
src/insdel.c
View file @
ab6c5c0c
...
...
@@ -713,6 +713,8 @@ prepare_to_modify_buffer (start, end)
#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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment