summaryrefslogtreecommitdiff
path: root/lisp/org/org-publish.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-11-06 04:39:33 +0000
committerGlenn Morris <rgm@gnu.org>2008-11-06 04:39:33 +0000
commit49ace7fb9044799a8ed657295cc01b2e280db2b9 (patch)
treedb5e39fda7dbc252fe070192ad1023f57fafbe1f /lisp/org/org-publish.el
parent3876cf5de7fa59f0b99780db58a3e12dac3bf940 (diff)
downloademacs-49ace7fb9044799a8ed657295cc01b2e280db2b9.tar.gz
emacs-49ace7fb9044799a8ed657295cc01b2e280db2b9.tar.bz2
emacs-49ace7fb9044799a8ed657295cc01b2e280db2b9.zip
(org-publish-attachment): Use copy-file rather than eshell/cp.
Diffstat (limited to 'lisp/org/org-publish.el')
-rw-r--r--lisp/org/org-publish.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org/org-publish.el b/lisp/org/org-publish.el
index 2bf0d4283a8..41d72878969 100644
--- a/lisp/org/org-publish.el
+++ b/lisp/org/org-publish.el
@@ -526,14 +526,12 @@ See `org-publish-org-to' to the list of arguments."
See `org-publish-org-to' to the list of arguments."
(org-publish-org-to "html" plist filename pub-dir))
-(autoload 'eshell/cp "em-unix") ; why the eshell version?
-
(defun org-publish-attachment (plist filename pub-dir)
"Publish a file with no transformation of any kind.
See `org-publish-org-to' to the list of arguments."
(unless (file-directory-p pub-dir)
(make-directory pub-dir t))
- (eshell/cp filename pub-dir))
+ (copy-file filename pub-dir))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Publishing files, sets of files, and indices