Mercurial > emacs
diff src/filelock.c @ 12104:10197e4b3fb2
(unlock_file, lock_file): Call Fexpand_file_name.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 07 Jun 1995 20:39:56 +0000 |
parents | e4fb5e01090a |
children | 11f5ce737c57 |
line wrap: on
line diff
--- a/src/filelock.c Wed Jun 07 18:58:06 1995 +0000 +++ b/src/filelock.c Wed Jun 07 20:39:56 1995 +0000 @@ -202,6 +202,8 @@ register Lisp_Object attack; register char *lfname; + fn = Fexpand_file_name (fn, Qnil); + MAKE_LOCK_NAME (lfname, fn); /* See if this file is visited and has changed on disk since it was @@ -329,6 +331,8 @@ { register char *lfname; + fn = Fexpand_file_name (fn, Qnil); + MAKE_LOCK_NAME (lfname, fn); lock_superlock (lfname);