diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-24 07:10:53 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-24 07:10:53 +0000 |
commit | a78bd10be9d4ea0410e0f6250b54c51688e8da3f (patch) | |
tree | 47d36a291e50b478798e783b2f6500f76471d741 /lisp/files.el | |
parent | 465f5572519d03b06f89a9fbed47e45e52a4817a (diff) | |
download | emacs-a78bd10be9d4ea0410e0f6250b54c51688e8da3f.tar.gz |
(backup-buffer-copy): Fully revert change. Sigh.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el index be3c53951c4..f2307b9d416 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3172,9 +3172,7 @@ BACKUPNAME is the backup file name, which is the old file renamed." (file-error nil)))))) (defun backup-buffer-copy (from-name to-name modes) - (let ((umask (default-file-modes)) - (dir (or (file-name-directory to-name) - default-directory))) + (let ((umask (default-file-modes))) (unwind-protect (progn ;; Create temp files with strict access rights. It's easy to |