diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-06-07 20:39:56 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-06-07 20:39:56 +0000 |
commit | 1e89de8486675c9f18e66b3ee150d130ddbac541 (patch) | |
tree | 236bc02f6b4e51a82667d3f124f45ba54e817ee1 /src/filelock.c | |
parent | 573228ae6c50007b3fbacc3ff97a94d1754347f3 (diff) | |
download | emacs-1e89de8486675c9f18e66b3ee150d130ddbac541.tar.gz |
(unlock_file, lock_file): Call Fexpand_file_name.
Diffstat (limited to 'src/filelock.c')
-rw-r--r-- | src/filelock.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |