diff options
| author | Richard M. Stallman | 1997-08-07 18:43:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-07 18:43:19 +0000 |
| commit | 8b6f8a99981fc349096fe8e8041bbc6621df4745 (patch) | |
| tree | b7bf908731b21673ac787477d564dacdd9f0ed27 /src | |
| parent | 783dfc1423b29f0f379279036b03da4d8fe6217e (diff) | |
| download | emacs-8b6f8a99981fc349096fe8e8041bbc6621df4745.tar.gz emacs-8b6f8a99981fc349096fe8e8041bbc6621df4745.zip | |
(init_filelock): Function deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/filelock.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/filelock.c b/src/filelock.c index d36245971e3..c478233d7e1 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -461,31 +461,6 @@ t if it is locked by you, else a string of the name of the locker.") | |||
| 461 | 461 | ||
| 462 | /* Initialization functions. */ | 462 | /* Initialization functions. */ |
| 463 | 463 | ||
| 464 | init_filelock () | ||
| 465 | { | ||
| 466 | #if 0 | ||
| 467 | char *new_name; | ||
| 468 | |||
| 469 | lock_dir = egetenv ("EMACSLOCKDIR"); | ||
| 470 | if (! lock_dir) | ||
| 471 | lock_dir = PATH_LOCK; | ||
| 472 | |||
| 473 | /* Copy the name in case egetenv got it from a Lisp string. */ | ||
| 474 | new_name = (char *) xmalloc (strlen (lock_dir) + 2); | ||
| 475 | strcpy (new_name, lock_dir); | ||
| 476 | lock_dir = new_name; | ||
| 477 | |||
| 478 | /* Make sure it ends with a slash. */ | ||
| 479 | if (lock_dir[strlen (lock_dir) - 1] != '/') | ||
| 480 | strcat (lock_dir, "/"); | ||
| 481 | |||
| 482 | superlock_file = (char *) xmalloc ((strlen (lock_dir) | ||
| 483 | + sizeof (SUPERLOCK_NAME))); | ||
| 484 | strcpy (superlock_file, lock_dir); | ||
| 485 | strcat (superlock_file, SUPERLOCK_NAME); | ||
| 486 | #endif | ||
| 487 | } | ||
| 488 | |||
| 489 | syms_of_filelock () | 464 | syms_of_filelock () |
| 490 | { | 465 | { |
| 491 | defsubr (&Sunlock_buffer); | 466 | defsubr (&Sunlock_buffer); |