From 5656d1bfaf6aff3a1d0b783460f0b304de0be900 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Wed, 24 Oct 2007 15:50:28 +0000 Subject: [PATCH] (org-publish-attachment): Re-install accidentally deleted change. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/org-publish.el | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7b32f670f91..fbb5d9f35b3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --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." 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))) -- 2.39.2