Mercurial > emacs
changeset 9995:e797886a4244
(backup-buffer): Use file-ownership-preserved-p.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 17 Nov 1994 16:53:01 +0000 |
parents | fa912a906a6f |
children | 478f14a61aba |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Thu Nov 17 16:50:21 1994 +0000 +++ b/lisp/files.el Thu Nov 17 16:53:01 1994 +0000 @@ -1371,7 +1371,7 @@ (and backup-by-copying-when-mismatch (let ((attr (file-attributes real-file-name))) (or (nth 9 attr) - (/= (nth 2 attr) (user-uid)))))) + (not (file-ownership-preserved-p real-file-name)))))) (condition-case () (copy-file real-file-name backupname t t) (file-error