* org-publish.el (org-publish-attachment): Alow copy-file to

overwrite files.
This commit is contained in:
Carsten Dominik 2008-11-15 06:44:19 +00:00
parent 4389931e6a
commit d7dbaa7d1c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
2008-11-15 Carsten Dominik <dominik@science.uva.nl>
* 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 <rgm@gnu.org>

View file

@ -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