# HG changeset patch # User Dan Nicolaescu # Date 1193241028 0 # Node ID ae9da278f53b298aaa20e6fe39845ddccce2b223 # Parent 35afe0eebae6d56131f28690de3864c69a0352cc (org-publish-attachment): Re-install accidentally deleted change. diff -r 35afe0eebae6 -r ae9da278f53b lisp/ChangeLog --- a/lisp/ChangeLog Wed Oct 24 14:54:03 2007 +0000 +++ b/lisp/ChangeLog Wed Oct 24 15:50:28 2007 +0000 @@ -1,3 +1,8 @@ +2007-10-24 Dan Nicolaescu + + * textmodes/org-publish.el (org-publish-attachment): Re-install + accidentally deleted change. + 2007-10-24 Stefan Monnier * term/iris-ansi.el (iris-function-map): Move init into declaration. diff -r 35afe0eebae6 -r ae9da278f53b lisp/textmodes/org-publish.el --- a/lisp/textmodes/org-publish.el Wed Oct 24 14:54:03 2007 +0000 +++ b/lisp/textmodes/org-publish.el Wed Oct 24 15:50:28 2007 +0000 @@ -464,9 +464,10 @@ 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)))