Mercurial > emacs
changeset 85613:ae9da278f53b
(org-publish-attachment): Re-install
accidentally deleted change.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 24 Oct 2007 15:50:28 +0000 |
parents | 35afe0eebae6 |
children | 9f3a25157e4f |
files | lisp/ChangeLog lisp/textmodes/org-publish.el |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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.
--- 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)))