diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 24 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-02-22 Glenn Morris <rgm@gnu.org> | 6 | 2013-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 |
| 736 | visiting a file, Emacs records that the file is @dfn{locked} by you. | 736 | visiting 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 |
| 738 | directory.) Emacs removes the lock when you save the changes. The | 738 | file with special contents in the same directory.) Emacs removes the |
| 739 | idea is that the file is locked whenever an Emacs buffer visiting it | 739 | lock when you save the changes. The idea is that the file is locked |
| 740 | has unsaved changes. | 740 | whenever 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 | |||
| 774 | simultaneously under different names. | 774 | simultaneously 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 |
| 777 | lacks the system permissions or the system does not support symbolic | 777 | lacks the system permissions or cannot create lock files for some |
| 778 | links. In these cases, Emacs can still detect the collision when you | 778 | other reason. In these cases, Emacs can still detect the collision |
| 779 | try to save a file, by checking the file's last-modification date. If | 779 | when you try to save a file, by checking the file's last-modification |
| 780 | the file has changed since the last time Emacs visited or saved it, | 780 | date. If the file has changed since the last time Emacs visited or |
| 781 | that implies that changes have been made in some other way, and will | 781 | saved it, that implies that changes have been made in some other way, |
| 782 | be lost if Emacs proceeds with saving. Emacs then displays a warning | 782 | and will be lost if Emacs proceeds with saving. Emacs then displays a |
| 783 | message and asks for confirmation before saving; answer @kbd{yes} to | 783 | warning message and asks for confirmation before saving; answer |
| 784 | save, 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 |
| 787 | place, one way to compare the buffer to its file is the @kbd{M-x | 787 | place, one way to compare the buffer to its file is the @kbd{M-x |