summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-07 18:43:19 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-07 18:43:19 +0000
commit81cfc94fbcb957c0f468a1ea38bea1296f6a3032 (patch)
treeb6fd0d1c8745a11f044e5e8b97b10d929aeefac6 /src
parent7962526f00a4db17bbb218daf35cac659bfc9ee2 (diff)
downloademacs-81cfc94fbcb957c0f468a1ea38bea1296f6a3032.tar.gz
(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.")
/* Initialization functions. */
-init_filelock ()
-{
-#if 0
- char *new_name;
-
- lock_dir = egetenv ("EMACSLOCKDIR");
- if (! lock_dir)
- lock_dir = PATH_LOCK;
-
- /* Copy the name in case egetenv got it from a Lisp string. */
- new_name = (char *) xmalloc (strlen (lock_dir) + 2);
- strcpy (new_name, lock_dir);
- lock_dir = new_name;
-
- /* Make sure it ends with a slash. */
- if (lock_dir[strlen (lock_dir) - 1] != '/')
- strcat (lock_dir, "/");
-
- superlock_file = (char *) xmalloc ((strlen (lock_dir)
- + sizeof (SUPERLOCK_NAME)));
- strcpy (superlock_file, lock_dir);
- strcat (superlock_file, SUPERLOCK_NAME);
-#endif
-}
-
syms_of_filelock ()
{
defsubr (&Sunlock_buffer);