summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 48d1f0f758b..d6ee952348b 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -207,7 +207,8 @@ lock_file (fn)
/* See if this file is visited and has changed on disk since it was
visited. */
{
- register Lisp_Object subject_buf = Fget_file_buffer (fn);
+ register Lisp_Object subject_buf;
+ subject_buf = Fget_file_buffer (fn);
if (!NILP (subject_buf)
&& NILP (Fverify_visited_file_modtime (subject_buf))
&& !NILP (Ffile_exists_p (fn)))