org-agenda.el: Unconditionnally set ̀org-compile-prefix-format'
commitb74140e1b00113f718c4bb990e0c8dd49eb7dd38
authorBastien Guerry <bzg@altern.org>
Thu, 30 Aug 2012 08:10:18 +0000 (30 10:10 +0200)
committerBastien Guerry <bzg@altern.org>
Thu, 30 Aug 2012 08:10:18 +0000 (30 10:10 +0200)
tree78f192c26de0e0af6393c45062a28cd27668273f
parent92f2e9efb2c37b098f1f870ea2faca442b850238
org-agenda.el: Unconditionnally set ̀org-compile-prefix-format'

* org-agenda.el (org-diary): Don't check whether there is an
agenda buffer when trying to compile the prefix format.
(org-compile-prefix-format): Check if there is an agenda
buffer.  If not, use the current buffer.
lisp/org-agenda.el