changeset 99566:4114af8bda08

* org-publish.el (org-publish-attachment): Alow copy-file to overwrite files.
author Carsten Dominik <dominik@science.uva.nl>
date Sat, 15 Nov 2008 06:44:02 +0000
parents 4036fc26fd06
children 25b688f8d121
files lisp/org/org-publish.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/org/org-publish.el	Sat Nov 15 06:43:50 2008 +0000
+++ b/lisp/org/org-publish.el	Sat Nov 15 06:44:02 2008 +0000
@@ -537,7 +537,7 @@
   ;; make sure eshell/cp code is loaded
   (unless (file-directory-p pub-dir)
     (make-directory pub-dir t))
-  (copy-file filename pub-dir))
+  (copy-file filename pub-dir t))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;; Publishing files, sets of files, and indices