* 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'.
This commit is contained in:
parent
a16b2d46ff
commit
6ce78fdc20
3 changed files with 10 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue