Mercurial > emacs
comparison src/filelock.c @ 6499:e0bef61003ae
(lock_file): Use assignment, not initialization.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 23 Mar 1994 22:29:02 +0000 |
parents | 0aa51282fbfe |
children | cd81dba38a49 |
comparison
equal
deleted
inserted
replaced
6498:676612edbafe | 6499:e0bef61003ae |
---|---|
205 MAKE_LOCK_PATH (lfname, fn); | 205 MAKE_LOCK_PATH (lfname, fn); |
206 | 206 |
207 /* See if this file is visited and has changed on disk since it was | 207 /* See if this file is visited and has changed on disk since it was |
208 visited. */ | 208 visited. */ |
209 { | 209 { |
210 register Lisp_Object subject_buf = Fget_file_buffer (fn); | 210 register Lisp_Object subject_buf; |
211 subject_buf = Fget_file_buffer (fn); | |
211 if (!NILP (subject_buf) | 212 if (!NILP (subject_buf) |
212 && NILP (Fverify_visited_file_modtime (subject_buf)) | 213 && NILP (Fverify_visited_file_modtime (subject_buf)) |
213 && !NILP (Ffile_exists_p (fn))) | 214 && !NILP (Ffile_exists_p (fn))) |
214 call1 (intern ("ask-user-about-supersession-threat"), fn); | 215 call1 (intern ("ask-user-about-supersession-threat"), fn); |
215 } | 216 } |