Commit 1e89de84 authored by Karl Heuer's avatar Karl Heuer
Browse files

(unlock_file, lock_file): Call Fexpand_file_name.

parent 573228ae
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment