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
f173b650
Commit
f173b650
authored
May 02, 1995
by
Richard M. Stallman
Browse files
(prepare_to_modify_buffer): Use file_truename for locking.
parent
d0b490f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/insdel.c
src/insdel.c
+2
-2
No files found.
src/insdel.c
View file @
f173b650
...
...
@@ -706,9 +706,9 @@ prepare_to_modify_buffer (start, end)
verify_interval_modification
(
current_buffer
,
start
,
end
);
#ifdef CLASH_DETECTION
if
(
!
NILP
(
current_buffer
->
filename
)
if
(
!
NILP
(
current_buffer
->
file
_true
name
)
&&
SAVE_MODIFF
>=
MODIFF
)
lock_file
(
current_buffer
->
filename
);
lock_file
(
current_buffer
->
file
_true
name
);
#else
/* At least warn if this file has changed on disk since it was visited. */
if
(
!
NILP
(
current_buffer
->
filename
)
...
...
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