aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-08-24 07:11:54 +0000
committerGlenn Morris2007-08-24 07:11:54 +0000
commitd3c2b0220dd88e6ab43ae68e2bf73a241754dffc (patch)
tree794a5096a057417ca4113d498784858851f4b23f
parentdadeaf0502b56335c13720412702333a7cd1113f (diff)
downloademacs-d3c2b0220dd88e6ab43ae68e2bf73a241754dffc.tar.gz
emacs-d3c2b0220dd88e6ab43ae68e2bf73a241754dffc.zip
(backup-buffer-copy): Fully revert change. Sigh.
-rw-r--r--lisp/files.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 84aa78b4a52..69ebf460781 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3120,9 +3120,7 @@ BACKUPNAME is the backup file name, which is the old file renamed."
3120 (file-error nil)))))) 3120 (file-error nil))))))
3121 3121
3122(defun backup-buffer-copy (from-name to-name modes) 3122(defun backup-buffer-copy (from-name to-name modes)
3123 (let ((umask (default-file-modes)) 3123 (let ((umask (default-file-modes)))
3124 (dir (or (file-name-directory to-name)
3125 default-directory)))
3126 (unwind-protect 3124 (unwind-protect
3127 (progn 3125 (progn
3128 ;; Create temp files with strict access rights. It's easy to 3126 ;; Create temp files with strict access rights. It's easy to