25 lines
705 B
Org Mode
25 lines
705 B
Org Mode
#+TITLE: Testing org-blog fix
|
|
#+DESCRIPTION: Let's see if it works
|
|
|
|
I've just adjusted just a little bit of code in org-blog, and now I
|
|
want to see if it works correctly.
|
|
|
|
I was getting the following error message when I would try and export
|
|
an ~org-blog~ project:
|
|
|
|
#+BEGIN_EXAMPLE
|
|
Selecting deleted buffer
|
|
#+END_EXAMPLE
|
|
|
|
It turns out that this is because of this little piece of code:
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
;; if buffer is already open, kill it
|
|
(if index-buffer
|
|
(kill-buffer index-buffer))
|
|
#+END_SRC
|
|
|
|
I'm guessing it wasn't originally meant as a function for
|
|
~org-publish~, well it was meant as an index function, but that
|
|
feature seems to have changed over time. Let's see what can be made of
|
|
it.
|