diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 8cfd1ccc9a1..ff7c0e50d2d 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,6 +1,6 @@ 2008-11-15 Carsten Dominik - * org-publish.el (org-publish-attachment): Alow copy-file to + * org-publish.el (org-publish-attachment): Allow copy-file to overwrite files. 2008-11-13 Glenn Morris diff --git a/lisp/org/org-publish.el b/lisp/org/org-publish.el index aa8c495b732..bbd91805121 100644 --- a/lisp/org/org-publish.el +++ b/lisp/org/org-publish.el @@ -537,7 +537,7 @@ See `org-publish-org-to' to the list of arguments." ;; 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