aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert Pluim2018-06-01 15:05:23 +0200
committerRobert Pluim2018-06-01 15:06:20 +0200
commit9188291f7a3a2536ef0b694e4c75f3094cf46fcf (patch)
treeade6c263ba1cf79c32b12c738953ff7a4eb2b75d /src
parente5471b2381e885d5d214bfa09ab0c35275fc6048 (diff)
downloademacs-9188291f7a3a2536ef0b694e4c75f3094cf46fcf.tar.gz
emacs-9188291f7a3a2536ef0b694e4c75f3094cf46fcf.zip
Add detailed documentation about lock files
* doc/emacs/files.texi (Interlocking): Point user at detailed file locking description in lisp reference manual. Add index entry for '.#' to improve disoverability of information about locking. * doc/lispref/files.texi (File Locks): Describe in detail what the form of the lock file is. Add index entry for '.#' to improve disoverability of information about locking. * src/filelock.c (create-lockfiles): Add cross reference to file locking in user manual and to 'lock-buffer'. Add string '.#' to help users find the doc string.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index f2dc7234076..d33063c8790 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -849,7 +849,10 @@ syms_of_filelock (void)
849 Vtemporary_file_directory = Qnil; 849 Vtemporary_file_directory = Qnil;
850 850
851 DEFVAR_BOOL ("create-lockfiles", create_lockfiles, 851 DEFVAR_BOOL ("create-lockfiles", create_lockfiles,
852 doc: /* Non-nil means use lockfiles to avoid editing collisions. */); 852 doc: /* Non-nil means use lockfiles to avoid editing collisions.
853The name of the (per-buffer) lockfile is constructed by prepending a
854'.#' to the name of the file being locked. See also `lock-buffer' and
855Info node `(emacs)Interlocking'. */);
853 create_lockfiles = 1; 856 create_lockfiles = 1;
854 857
855 defsubr (&Sunlock_buffer); 858 defsubr (&Sunlock_buffer);