Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3036594f
Commit
3036594f
authored
Apr 29, 1998
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(lock_file): gcpro `fn'.
parent
35d63725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/filelock.c
src/filelock.c
+6
-0
No files found.
src/filelock.c
View file @
3036594f
...
...
@@ -384,11 +384,17 @@ lock_file (fn)
visited. */
{
register
Lisp_Object
subject_buf
;
struct
gcpro1
;
subject_buf
=
get_truename_buffer
(
orig_fn
);
GCPRO1
(
fn
);
if
(
!
NILP
(
subject_buf
)
&&
NILP
(
Fverify_visited_file_modtime
(
subject_buf
))
&&
!
NILP
(
Ffile_exists_p
(
fn
)))
call1
(
intern
(
"ask-user-about-supersession-threat"
),
fn
);
UNGCPRO
;
}
/* Try to lock the lock. */
...
...
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