Mercurial > emacs
diff lisp/net/tramp.el @ 111449:132f2dfd549f
Merge from emacs-23
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 09 Nov 2010 15:07:10 -0500 |
parents | 029e4783cbae 21396378bdf6 |
children | 49c1b16ca6b1 |
line wrap: on
line diff
--- a/lisp/net/tramp.el Tue Nov 09 10:29:37 2010 +0000 +++ b/lisp/net/tramp.el Tue Nov 09 15:07:10 2010 -0500 @@ -2864,8 +2864,7 @@ (set-buffer-modified-p nil) ;; For root, preserve owner and group when editing files. (when (string-equal (file-remote-p filename 'user) "root") - (set (make-local-variable 'backup-by-copying-when-mismatch) t) - (put 'backup-by-copying-when-mismatch 'permanent-local t))) + (set (make-local-variable 'backup-by-copying-when-mismatch) t))) (when (and (stringp local-copy) (or remote-copy (null tramp-temp-buffer-file-name))) (delete-file local-copy))