emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/org/org-publish.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/org/org-publish.el,v
Date: Thu, 06 Nov 2008 04:16:15 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/11/06 04:16:14

Index: org-publish.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/org/org-publish.el,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- org-publish.el      25 Oct 2008 21:32:49 -0000      1.10
+++ org-publish.el      6 Nov 2008 04:16:13 -0000       1.11
@@ -526,14 +526,11 @@
 See `org-publish-org-to' to the list of arguments."
   (org-publish-org-to "html" plist filename pub-dir))
 
+(autoload eshell/cp "em-unix")         ; why the eshell version?
+
 (defun org-publish-attachment (plist filename pub-dir)
   "Publish a file with no transformation of any kind.
 See `org-publish-org-to' to the list of arguments."
-  ;; make sure eshell/cp code is loaded
-  (eval-and-compile
-    (require 'eshell)
-    (require 'esh-maint)
-    (require 'em-unix))
   (unless (file-directory-p pub-dir)
     (make-directory pub-dir t))
   (eshell/cp filename pub-dir))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]