From 1e89de8486675c9f18e66b3ee150d130ddbac541 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 7 Jun 1995 20:39:56 +0000 Subject: [PATCH] (unlock_file, lock_file): Call Fexpand_file_name. --- src/filelock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filelock.c b/src/filelock.c index 4c725253acd..98d197afd54 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -202,6 +202,8 @@ lock_file (fn) 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 @@ unlock_file (fn) { register char *lfname; + fn = Fexpand_file_name (fn, Qnil); + MAKE_LOCK_NAME (lfname, fn); lock_superlock (lfname); -- 2.39.2