As someone pointed out in a different msg[1], your patch is missing some #ifdef's around unlock_file, as the function is only defined when CLASH_DETECTION is defined, so it breaks, say, on win32.
--Boris [1] gmane.emacs.devel:37082 _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel