Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ed08ccb4
Commit
ed08ccb4
authored
Nov 06, 2008
by
Glenn Morris
Browse files
(eshell/cp): Autoload it rather than requiring things.
parent
c108d549
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
lisp/org/ChangeLog
lisp/org/ChangeLog
+4
-0
lisp/org/org-publish.el
lisp/org/org-publish.el
+2
-5
No files found.
lisp/org/ChangeLog
View file @
ed08ccb4
2008-11-06 Glenn Morris <rgm@gnu.org>
* org-publish.el (eshell/cp): Autoload it rather than requiring things.
2008-11-04 Juanma Barranquero <lekktu@gmail.com>
* org.el (org-columns-modify-value-for-display-function):
...
...
lisp/org/org-publish.el
View file @
ed08ccb4
...
...
@@ -526,14 +526,11 @@ See `org-publish-org-to' to the list of arguments."
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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment