Variable: create-lockfiles

create-lockfiles is a customizable variable defined in filelock.c.

Value

t

Documentation

Non-nil means use lockfiles to avoid editing collisions.

The name of the (per-buffer) lockfile is constructed by prepending
".#" to the name of the file being locked. See also lock-buffer and
Info node (emacs)Interlocking.

This variable was added, or its default value changed, in Emacs 24.3.

View in manual

Probably introduced at or before Emacs version 24.3.

Source Code

// Defined in /usr/src/emacs/src/filelock.c
  DEFVAR_BOOL ("create-lockfiles", create_lockfiles,
	       doc: /* Non-nil means use lockfiles to avoid editing collisions.
The name of the (per-buffer) lockfile is constructed by prepending
".#" to the name of the file being locked.  See also `lock-buffer' and
Info node `(emacs)Interlocking'.  */);