summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2010-11-06 15:04:23 +0100
committerMichael Albinus <michael.albinus@gmx.de>2010-11-06 15:04:23 +0100
commit6ce78fdc207098b4932a19e8f1dd5293264037d4 (patch)
tree4eb27fd7c92de53549058f9b623cff51c2c907ca /lisp/files.el
parenta16b2d46ffd8180c359425db98f7905d73587c69 (diff)
downloademacs-6ce78fdc207098b4932a19e8f1dd5293264037d4.tar.gz
* files.el (backup-by-copying-when-mismatch): Make it a buffer local
variable (permanent-local). * net/tramp.el (tramp-handle-insert-file-contents): Do not set `permanent-local' property for `(backup-by-copying-when-mismatch'.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 02f5f8fdacf..0664bfd3844 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -123,6 +123,7 @@ the default for a new file created there by you.
This variable is relevant only if `backup-by-copying' is nil."
:type 'boolean
:group 'backup)
+(put 'backup-by-copying-when-mismatch 'permanent-local t)
(defcustom backup-by-copying-when-privileged-mismatch 200
"Non-nil means create backups by copying to preserve a privileged owner.