diff options
author | Dan Nicolaescu <[email protected]> | 2007-10-24 15:50:28 +0000 |
---|---|---|
committer | Dan Nicolaescu <[email protected]> | 2007-10-24 15:50:28 +0000 |
commit | 5656d1bfaf6aff3a1d0b783460f0b304de0be900 (patch) | |
tree | 8f30187cd3c131e968a5e558512349de13ab685b /lisp/textmodes | |
parent | d1886efb125ef22ad2c88c6fa60b722d19884243 (diff) |
(org-publish-attachment): Re-install
accidentally deleted change.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/org-publish.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el index 0eddd40281..26dc409e19 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." PLIST is the property list for the given project. FILENAME is the filename of the file to be published." ;; make sure eshell/cp code is loaded - (require 'eshell) - (require 'esh-maint) - (require 'em-unix) + (eval-and-compile + (require 'eshell) + (require 'esh-maint) + (require 'em-unix)) (let ((destination (file-name-as-directory (plist-get plist :publishing-directory)))) (eshell/cp filename destination))) |