diff lisp/org/org-publish.el @ 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 e3acb52d33e1
children 621e15919df0
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