summaryrefslogtreecommitdiffstats
path: root/blog/blog-2012-05-10-0130.org
blob: 379c20d62fe4867aca8bf3887db5dff599f7c1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#+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.