Function: unlock-file

unlock-file is a function defined in filelock.c.

Signature

(unlock-file FILE)

Documentation

Unlock FILE.

Source Code

// Defined in /usr/src/emacs/src/filelock.c
{
#ifndef MSDOS
  CHECK_STRING (file);

  /* If the file name has special constructs in it,
     call the corresponding file name handler.  */
  Lisp_Object handler;
  handler = Ffind_file_name_handler (file, Qunlock_file);
  if (!NILP (handler))
    {
      calln (handler, Qunlock_file, file);
      return Qnil;
    }

  internal_condition_case_1 (unlock_file,
			     file,
			     list1 (Qfile_error),
			     unlock_file_handle_error);
#endif	/* MSDOS */
  return Qnil;
}