aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/org-publish.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el
index 0eddd402812..26dc409e19c 100644
--- a/lisp/textmodes/org-publish.el
+++ b/lisp/textmodes/org-publish.el
@@ -464,9 +464,10 @@ FILENAME is the filename of the org file to be published."
464PLIST is the property list for the given project. 464PLIST is the property list for the given project.
465FILENAME is the filename of the file to be published." 465FILENAME is the filename of the file to be published."
466 ;; make sure eshell/cp code is loaded 466 ;; make sure eshell/cp code is loaded
467 (require 'eshell) 467 (eval-and-compile
468 (require 'esh-maint) 468 (require 'eshell)
469 (require 'em-unix) 469 (require 'esh-maint)
470 (require 'em-unix))
470 (let ((destination (file-name-as-directory (plist-get plist :publishing-directory)))) 471 (let ((destination (file-name-as-directory (plist-get plist :publishing-directory))))
471 (eshell/cp filename destination))) 472 (eshell/cp filename destination)))
472 473