# HG changeset patch # User Carsten Dominik # Date 1226731442 0 # Node ID 4114af8bda08cd2b6168d2957343a8da4ef32dac # Parent 4036fc26fd069a88259d9cae59e122fbb1b24c53 * org-publish.el (org-publish-attachment): Alow copy-file to overwrite files. diff -r 4036fc26fd06 -r 4114af8bda08 lisp/org/org-publish.el --- 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