Fix HTML export of init.org

This commit is contained in:
Tom Willemse 2015-09-23 15:00:48 +02:00
parent bf66ba20e3
commit a25de0f817
3 changed files with 4 additions and 11 deletions

View file

@ -62,9 +62,7 @@ clean: clean-export clean-byte-compiled clean-generated
### HTML Export ### HTML Export
export: clean-export export: clean-export
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \ $(EMACS) $(EARGS) -L $(CURDIR) -l project.el -f org-publish-all
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
-f org-publish-all
publish: export publish: export
rsync -avuz --exclude=*~ --delete _publish/ \ rsync -avuz --exclude=*~ --delete _publish/ \

View file

@ -1,4 +1,3 @@
#+TITLE: Emacs init
#+PROPERTY: tangle init2.el #+PROPERTY: tangle init2.el
#+STARTUP: content #+STARTUP: content
#+OPTIONS: author:nil num:nil toc:nil #+OPTIONS: author:nil num:nil toc:nil
@ -455,8 +454,8 @@
important questions where accidentally saying ~yes~ when you meant ~no~ important questions where accidentally saying ~yes~ when you meant ~no~
would be catastrophic (or at least could be). However, I've never would be catastrophic (or at least could be). However, I've never
(so far) had this problem, and I find it quite tedious to have to (so far) had this problem, and I find it quite tedious to have to
write out ~yes~ or ~no~ and then press {{{kbd(RET)}}}, give me a simple write out ~yes~ or ~no~ and then press {{{key(RET)}}}, give me a simple
~y~ or ~n~ with no {{{kdb(RET)}}} required and I'm quite happy. ~y~ or ~n~ with no {{{key(RET)}}} required and I'm quite happy.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defalias 'yes-or-no-p 'y-or-n-p) (defalias 'yes-or-no-p 'y-or-n-p)
@ -622,7 +621,7 @@
After the ansi-term process ends it leaves a buffer. I don't use After the ansi-term process ends it leaves a buffer. I don't use
ansi term in such a way that this has ever been useful, so just kill ansi term in such a way that this has ever been useful, so just kill
the ansi-term buffer after the process quits, no matter the exit the ansi-term buffer after the process quits, no matter the exit
status. Usually this comes about when I press {{{kbd(C-d)}}} at the status. Usually this comes about when I press {{{key(C-d)}}} at the
command prompt. command prompt.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp

View file

@ -1,7 +1,3 @@
(eval-and-compile
(require 'cask "~/projects/ext/cask/cask.el")
(cask-initialize))
(require 'ox-publish) (require 'ox-publish)
(require 'htmlize) (require 'htmlize)