Clean-up org-publish functionality
This commit is contained in:
parent
7416626bdd
commit
2b59f2308d
2 changed files with 5 additions and 10 deletions
|
@ -54,12 +54,8 @@
|
||||||
:publishing-function org-publish-attachment
|
:publishing-function org-publish-attachment
|
||||||
:recursive t)))
|
:recursive t)))
|
||||||
|
|
||||||
(defun mmk2410/dot-emacs-publish-additional ()
|
(org-publish-all t)
|
||||||
|
|
||||||
(rename-file
|
(rename-file
|
||||||
(concat mmk2410/dot-emacs-publish-publishing-dir "config.html")
|
(concat mmk2410/dot-emacs-publish-publishing-dir "config.html")
|
||||||
(concat mmk2410/dot-emacs-publish-publishing-dir "index.html")))
|
(concat mmk2410/dot-emacs-publish-publishing-dir "index.html"))
|
||||||
|
|
||||||
(defun mmk2410/dot-emacs-publish ()
|
|
||||||
(interactive)
|
|
||||||
(org-publish-all t)
|
|
||||||
(mmk2410/dot-emacs-publish-additional))
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# emacs -Q --script ./publish.el
|
emacs -Q --script ./publish.el
|
||||||
emacs -q --batch -l ./publish.el --funcall mmk2410/dot-emacs-publish
|
|
||||||
|
|
Loading…
Reference in a new issue