Commit 5656d1bf authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(org-publish-attachment): Re-install

accidentally deleted change.
parent d1886efb
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> 2007-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
* term/iris-ansi.el (iris-function-map): Move init into declaration. * term/iris-ansi.el (iris-function-map): Move init into declaration.
......
...@@ -464,9 +464,10 @@ FILENAME is the filename of the org file to be published." ...@@ -464,9 +464,10 @@ FILENAME is the filename of the org file to be published."
PLIST is the property list for the given project. PLIST is the property list for the given project.
FILENAME is the filename of the file to be published." FILENAME is the filename of the file to be published."
;; make sure eshell/cp code is loaded ;; make sure eshell/cp code is loaded
(eval-and-compile
(require 'eshell) (require 'eshell)
(require 'esh-maint) (require 'esh-maint)
(require 'em-unix) (require 'em-unix))
(let ((destination (file-name-as-directory (plist-get plist :publishing-directory)))) (let ((destination (file-name-as-directory (plist-get plist :publishing-directory))))
(eshell/cp filename destination))) (eshell/cp filename destination)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment