aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-07 18:43:19 +0000
committerRichard M. Stallman1997-08-07 18:43:19 +0000
commit8b6f8a99981fc349096fe8e8041bbc6621df4745 (patch)
treeb7bf908731b21673ac787477d564dacdd9f0ed27 /src
parent783dfc1423b29f0f379279036b03da4d8fe6217e (diff)
downloademacs-8b6f8a99981fc349096fe8e8041bbc6621df4745.tar.gz
emacs-8b6f8a99981fc349096fe8e8041bbc6621df4745.zip
(init_filelock): Function deleted.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c25
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
464init_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
489syms_of_filelock () 464syms_of_filelock ()
490{ 465{
491 defsubr (&Sunlock_buffer); 466 defsubr (&Sunlock_buffer);