aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-01-23 19:34:31 -0800
committerGlenn Morris2014-01-23 19:34:31 -0800
commitca5fd02c0640ab7e25bab877d86d0e0adac4985f (patch)
tree467fc716ed37faba4e533d6bde7dbd33567eb2dc
parent6c9cbdf04f11b7799ccaef817a5cc79fe6dac02c (diff)
downloademacs-ca5fd02c0640ab7e25bab877d86d0e0adac4985f.tar.gz
emacs-ca5fd02c0640ab7e25bab877d86d0e0adac4985f.zip
* doc/emacs/files.texi (Interlocking): Copyedit.
* etc/NEWS: Related small edits.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/files.texi7
-rw-r--r--etc/NEWS22
3 files changed, 18 insertions, 15 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index c10f3e073a0..8ef2f4699ec 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12014-01-24 Glenn Morris <rgm@gnu.org>
2
3 * files.texi (Interlocking): Copyedit.
4
12014-01-23 Glenn Morris <rgm@gnu.org> 52014-01-23 Glenn Morris <rgm@gnu.org>
2 6
3 * building.texi (Lisp Eval): Update prefix argument behavior 7 * building.texi (Lisp Eval): Update prefix argument behavior
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 1b6211a1ee1..3b9aefa332b 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -752,9 +752,10 @@ file.
752@cindex locking files 752@cindex locking files
753 When you make the first modification in an Emacs buffer that is 753 When you make the first modification in an Emacs buffer that is
754visiting a file, Emacs records that the file is @dfn{locked} by you. 754visiting a file, Emacs records that the file is @dfn{locked} by you.
755(It does this by creating a specially-named symbolic link or regular 755(It does this by creating a specially-named symbolic link@footnote{If
756file with special contents in the same directory.) Emacs removes the 756your file system does not support symbolic links, a regular file is
757lock when you save the changes. The idea is that the file is locked 757used.} with special contents in the same directory.) Emacs removes the lock
758when you save the changes. The idea is that the file is locked
758whenever an Emacs buffer visiting it has unsaved changes. 759whenever an Emacs buffer visiting it has unsaved changes.
759 760
760@vindex create-lockfiles 761@vindex create-lockfiles
diff --git a/etc/NEWS b/etc/NEWS
index a4a1a419f1d..722643378cf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1265,17 +1265,6 @@ These attributes are only meaningful for coding-systems of type
1265 1265
1266** `time-to-seconds' is not obsolete any more. 1266** `time-to-seconds' is not obsolete any more.
1267 1267
1268** The lock for 'DIR/FILE' is now 'DIR/.#FILE' and may be a regular file.
1269When you edit DIR/FILE, Emacs normally creates a symbolic link
1270DIR/.#FILE as a lock that warns other instances of Emacs that DIR/FILE
1271is being edited. Formerly, if there was already a non-symlink file
1272named DIR/.#FILE, Emacs fell back on the lock names DIR/.#FILE.0
1273through DIR/.#FILE.9. These fallbacks have been removed, so that
1274Emacs now no longer locks DIR/FILE in that case.
1275
1276On file systems that do not support symbolic links, the lock is now a
1277regular file with contents being what would have been in the symlink.
1278
1279+++ 1268+++
1280** New functions `group-gid' and `group-real-gid'. 1269** New functions `group-gid' and `group-real-gid'.
1281 1270
@@ -1283,6 +1272,15 @@ regular file with contents being what would have been in the symlink.
1283** The spelling of the rx.el category `chinese-two-byte' has been 1272** The spelling of the rx.el category `chinese-two-byte' has been
1284corrected (the first 'e' was missing). 1273corrected (the first 'e' was missing).
1285 1274
1275---
1276** Minor internal changes to the details of lock files.
1277The lock for DIR/FILE is now _always_ DIR/.#FILE.
1278If DIR/.#FILE already exists and is not an Emacs lock file,
1279Emacs makes no attempt to lock DIR/FILE. (Previously, it fell back to
1280numbered lock files DIR/.#FILE.0...).
1281On file systems that do not support symbolic links, the lock is now a
1282regular file with contents being what would have been in the symlink.
1283
1286** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4 1284** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4
1287 1285
1288+++ 1286+++
@@ -1331,7 +1329,7 @@ modifying it has no effect.
1331 1329
1332--- 1330---
1333** Lock files now work on MS-Windows. 1331** Lock files now work on MS-Windows.
1334This allows to avoid losing your edits if the same file is being 1332This helps to prevent losing your edits if the same file is being
1335edited in another Emacs session or by another user. See the node 1333edited in another Emacs session or by another user. See the node
1336"Interlocking" in the Emacs User Manual for the details. To disable 1334"Interlocking" in the Emacs User Manual for the details. To disable
1337file locking, customize `create-lockfiles' to nil. 1335file locking, customize `create-lockfiles' to nil.