From e274eb13e0bbe9d200aa813b7ec3ef559f76405c Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 21 Nov 2010 20:39:21 +0100 Subject: * files.el (backup-by-copying-when-mismatch): The default value is now t. * startup.el (normal-top-level): * net/tramp.el (tramp-handle-insert-file-contents): Do not set `backup-by-copying-when-mismatch'. --- lisp/files.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/files.el') diff --git a/lisp/files.el b/lisp/files.el index 3b130a20d2b..42a3f87cb11 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -115,13 +115,14 @@ This variable is relevant only if `backup-by-copying' is nil." :type 'boolean :group 'backup) -(defcustom backup-by-copying-when-mismatch nil +(defcustom backup-by-copying-when-mismatch t "Non-nil means create backups by copying if this preserves owner or group. Renaming may still be used (subject to control of other variables) when it would not result in changing the owner or group of the file; that is, for files which are owned by you and whose group matches the default for a new file created there by you. This variable is relevant only if `backup-by-copying' is nil." + :version "24.1" :type 'boolean :group 'backup) (put 'backup-by-copying-when-mismatch 'permanent-local t) -- cgit v1.2.3