diff options
| author | Karl Heuer | 1995-06-07 20:39:56 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-06-07 20:39:56 +0000 |
| commit | 1e89de8486675c9f18e66b3ee150d130ddbac541 (patch) | |
| tree | 236bc02f6b4e51a82667d3f124f45ba54e817ee1 /src | |
| parent | 573228ae6c50007b3fbacc3ff97a94d1754347f3 (diff) | |
| download | emacs-1e89de8486675c9f18e66b3ee150d130ddbac541.tar.gz emacs-1e89de8486675c9f18e66b3ee150d130ddbac541.zip | |
(unlock_file, lock_file): Call Fexpand_file_name.
Diffstat (limited to 'src')
| -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) | |||
| 202 | register Lisp_Object attack; | 202 | register Lisp_Object attack; |
| 203 | register char *lfname; | 203 | register char *lfname; |
| 204 | 204 | ||
| 205 | fn = Fexpand_file_name (fn, Qnil); | ||
| 206 | |||
| 205 | MAKE_LOCK_NAME (lfname, fn); | 207 | MAKE_LOCK_NAME (lfname, fn); |
| 206 | 208 | ||
| 207 | /* See if this file is visited and has changed on disk since it was | 209 | /* See if this file is visited and has changed on disk since it was |
| @@ -329,6 +331,8 @@ unlock_file (fn) | |||
| 329 | { | 331 | { |
| 330 | register char *lfname; | 332 | register char *lfname; |
| 331 | 333 | ||
| 334 | fn = Fexpand_file_name (fn, Qnil); | ||
| 335 | |||
| 332 | MAKE_LOCK_NAME (lfname, fn); | 336 | MAKE_LOCK_NAME (lfname, fn); |
| 333 | 337 | ||
| 334 | lock_superlock (lfname); | 338 | lock_superlock (lfname); |