From e2f6a0bc3478ee7a0fcfc31e77316aa2e054a162 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 17 Dec 2013 23:09:13 +0800 Subject: [PATCH] * files.el (break-hardlink-on-save): Doc fix. Suggested by Xue Fuqiao. Fixes: debbugs:13801 --- lisp/ChangeLog | 5 +++++ 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 @@ +2013-12-17 Chong Yidong + + * files.el (break-hardlink-on-save): Doc fix (Bug#13801). + Suggested by Xue Fuqiao. + 2013-12-17 Dmitry Gutov * 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'." :group 'backup) (defcustom break-hardlink-on-save nil - "Non-nil means when saving a file that exists under several names -\(i.e., has multiple hardlinks), break the hardlink associated with -`buffer-file-name' and write to a new file, so that the other -instances of the file are not affected by the save. + "Whether to allow breaking hardlinks when saving files. +If non-nil, then when saving a file that exists under several +names \(i.e., has multiple hardlinks), break the hardlink +associated with `buffer-file-name' and write to a new file, so +that the other instances of the file are not affected by the +save. If `buffer-file-name' refers to a symlink, do not break the symlink. -- 2.39.2