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
|
||||
:recursive t)))
|
||||
|
||||
(defun mmk2410/dot-emacs-publish-additional ()
|
||||
(rename-file
|
||||
(concat mmk2410/dot-emacs-publish-publishing-dir "config.html")
|
||||
(concat mmk2410/dot-emacs-publish-publishing-dir "index.html")))
|
||||
(org-publish-all t)
|
||||
|
||||
(defun mmk2410/dot-emacs-publish ()
|
||||
(interactive)
|
||||
(org-publish-all t)
|
||||
(mmk2410/dot-emacs-publish-additional))
|
||||
(rename-file
|
||||
(concat mmk2410/dot-emacs-publish-publishing-dir "config.html")
|
||||
(concat mmk2410/dot-emacs-publish-publishing-dir "index.html"))
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# emacs -Q --script ./publish.el
|
||||
emacs -q --batch -l ./publish.el --funcall mmk2410/dot-emacs-publish
|
||||
emacs -Q --script ./publish.el
|
||||
|
|
Loading…
Reference in a new issue