diff options
| author | Chong Yidong | 2013-12-17 23:09:13 +0800 |
|---|---|---|
| committer | Chong Yidong | 2013-12-17 23:09:13 +0800 |
| commit | e2f6a0bc3478ee7a0fcfc31e77316aa2e054a162 (patch) | |
| tree | e75f0bc389fb16864e0379aef5e8708c02199d58 | |
| parent | 35b249a653c0f855d6d0d421be216e6465585ce4 (diff) | |
| download | emacs-e2f6a0bc3478ee7a0fcfc31e77316aa2e054a162.tar.gz emacs-e2f6a0bc3478ee7a0fcfc31e77316aa2e054a162.zip | |
* files.el (break-hardlink-on-save): Doc fix.
Suggested by Xue Fuqiao.
Fixes: debbugs:13801
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/files.el | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9a424b239c2..728405eeb2e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-12-17 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * files.el (break-hardlink-on-save): Doc fix (Bug#13801). | ||
| 4 | Suggested by Xue Fuqiao. | ||
| 5 | |||
| 1 | 2013-12-17 Dmitry Gutov <dgutov@yandex.ru> | 6 | 2013-12-17 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 7 | ||
| 3 | * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if. | 8 | * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if. |
diff --git a/lisp/files.el b/lisp/files.el index 229770006c7..b864b6e4c57 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -248,10 +248,12 @@ See also: `break-hardlink-on-save'." | |||
| 248 | :group 'backup) | 248 | :group 'backup) |
| 249 | 249 | ||
| 250 | (defcustom break-hardlink-on-save nil | 250 | (defcustom break-hardlink-on-save nil |
| 251 | "Non-nil means when saving a file that exists under several names | 251 | "Whether to allow breaking hardlinks when saving files. |
| 252 | \(i.e., has multiple hardlinks), break the hardlink associated with | 252 | If non-nil, then when saving a file that exists under several |
| 253 | `buffer-file-name' and write to a new file, so that the other | 253 | names \(i.e., has multiple hardlinks), break the hardlink |
| 254 | instances of the file are not affected by the save. | 254 | associated with `buffer-file-name' and write to a new file, so |
| 255 | that the other instances of the file are not affected by the | ||
| 256 | save. | ||
| 255 | 257 | ||
| 256 | If `buffer-file-name' refers to a symlink, do not break the symlink. | 258 | If `buffer-file-name' refers to a symlink, do not break the symlink. |
| 257 | 259 | ||