summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-08-25 21:10:19 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-08-25 21:10:19 +0000
commit4d52ff3c547248f1e7ed55cabb5cbddba1f56b3e (patch)
treebb9b6dccde38290734ff5616fb585bffb6bb2e4e /app-editors/emacs/files
parentmove files to new revision (diff)
downloademacs-4d52ff3c547248f1e7ed55cabb5cbddba1f56b3e.tar.gz
emacs-4d52ff3c547248f1e7ed55cabb5cbddba1f56b3e.tar.bz2
emacs-4d52ff3c547248f1e7ed55cabb5cbddba1f56b3e.zip
sync with Portage
svn path=/emacs-overlay/; revision=623
Diffstat (limited to 'app-editors/emacs/files')
-rw-r--r--app-editors/emacs/files/emacs-22.1-backup-buffer.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-editors/emacs/files/emacs-22.1-backup-buffer.patch b/app-editors/emacs/files/emacs-22.1-backup-buffer.patch
new file mode 100644
index 0000000..0e53cef
--- /dev/null
+++ b/app-editors/emacs/files/emacs-22.1-backup-buffer.patch
@@ -0,0 +1,14 @@
+--- emacs-22.1-orig/lisp/files.el 2007-05-25 14:43:31.000000000 +0200
++++ emacs-22.1/lisp/files.el 2007-08-21 08:26:36.000000000 +0200
+@@ -3119,9 +3119,8 @@
+ (set-default-file-modes ?\700)
+ (while (condition-case ()
+ (progn
+- (condition-case nil
+- (delete-file to-name)
+- (file-error nil))
++ (and (file-exists-p to-name)
++ (delete-file to-name))
+ (copy-file from-name to-name nil t)
+ nil)
+ (file-already-exists t))