accidentally deleted change.
+2007-10-24 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * textmodes/org-publish.el (org-publish-attachment): Re-install
+ accidentally deleted change.
+
2007-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
* term/iris-ansi.el (iris-function-map): Move init into declaration.
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)))