emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Org errors while building agenda: (void-function org-hh:mm-string-to


From: Tassilo Horn
Subject: [O] Org errors while building agenda: (void-function org-hh:mm-string-to-minutes)
Date: Fri, 19 Aug 2011 17:39:44 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Hi,

it seems commit

commit 8c3ecbe39a0c99e3724246d1eb460495a53721b6
Author: Bastien Guerry <address@hidden>
Date:   Wed Aug 17 16:08:02 2011 +0200

    Move three functions and add appropriate require/declarations.
    
    * org-clock.el (org-duration-string-to-minutes)
    (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
    Move from org.el.

has broken my agenda.  I get

Debugger entered--Lisp error: (void-function org-hh:mm-string-to-minutes)
  org-hh:mm-string-to-minutes("16:30")
  org-format-agenda-item(...)

because that function has been moved to org-clock.el, which I don't
use.  If I require that, the agenda works again.

org-agenda.el contains `declare-function' statements for the three moved
functions to silence the byte compiler, but it does not require
org-clock in `org-format-agenda-item' nor do the three functions have
autoload cookies.

BTW: What's the original intention of the move?  I don't see why those
functions are specific to org-clock...

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]