aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/files.texi24
2 files changed, 17 insertions, 12 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 33f530cbadc..44245441791 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12013-02-25 Eli Zaretskii <eliz@gnu.org>
2
3 * files.texi (Interlocking): Don't refer to symlinks as the
4 exclusive means of locking files.
5
12013-02-22 Glenn Morris <rgm@gnu.org> 62013-02-22 Glenn Morris <rgm@gnu.org>
2 7
3 * ack.texi (Acknowledgments): 8 * ack.texi (Acknowledgments):
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 7f7ae483cd5..1f78747eaa6 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -734,10 +734,10 @@ file.
734@cindex locking files 734@cindex locking files
735 When you make the first modification in an Emacs buffer that is 735 When you make the first modification in an Emacs buffer that is
736visiting a file, Emacs records that the file is @dfn{locked} by you. 736visiting a file, Emacs records that the file is @dfn{locked} by you.
737(It does this by creating a specially-named symbolic link in the same 737(It does this by creating a specially-named symbolic link or regular
738directory.) Emacs removes the lock when you save the changes. The 738file with special contents in the same directory.) Emacs removes the
739idea is that the file is locked whenever an Emacs buffer visiting it 739lock when you save the changes. The idea is that the file is locked
740has unsaved changes. 740whenever an Emacs buffer visiting it has unsaved changes.
741 741
742@vindex create-lockfiles 742@vindex create-lockfiles
743 You can prevent the creation of lock files by setting the variable 743 You can prevent the creation of lock files by setting the variable
@@ -774,14 +774,14 @@ multiple names, Emacs does not prevent two users from editing it
774simultaneously under different names. 774simultaneously under different names.
775 775
776 A lock file cannot be written in some circumstances, e.g., if Emacs 776 A lock file cannot be written in some circumstances, e.g., if Emacs
777lacks the system permissions or the system does not support symbolic 777lacks the system permissions or cannot create lock files for some
778links. In these cases, Emacs can still detect the collision when you 778other reason. In these cases, Emacs can still detect the collision
779try to save a file, by checking the file's last-modification date. If 779when you try to save a file, by checking the file's last-modification
780the file has changed since the last time Emacs visited or saved it, 780date. If the file has changed since the last time Emacs visited or
781that implies that changes have been made in some other way, and will 781saved it, that implies that changes have been made in some other way,
782be lost if Emacs proceeds with saving. Emacs then displays a warning 782and will be lost if Emacs proceeds with saving. Emacs then displays a
783message and asks for confirmation before saving; answer @kbd{yes} to 783warning message and asks for confirmation before saving; answer
784save, and @kbd{no} or @kbd{C-g} cancel the save. 784@kbd{yes} to save, and @kbd{no} or @kbd{C-g} cancel the save.
785 785
786 If you are notified that simultaneous editing has already taken 786 If you are notified that simultaneous editing has already taken
787place, one way to compare the buffer to its file is the @kbd{M-x 787place, one way to compare the buffer to its file is the @kbd{M-x