I had the same problem after pulling from git yesterday and worked around
it by doing:

; This is a bug work around
(defun org-element-cache-reset (&optional all) (interactive))

before requiring org.

Regards,
Dov



On Tue, Nov 5, 2013 at 4:51 AM, Vladimir Lomov <lomov...@gmail.com> wrote:

> Hello,
> ** Achim Gratz [2013-11-04 20:59:58 +0100]:
>
> > Sam Flint writes:
> > > I pulled org from git just now, restarted Emacs, and got this error:
> > > Symbol's function definition is void: org-element-chache reset
> > > Any ideas why?
>
> > You probably meant to type org-element-cache-reset... my guess is you
> > didn't actually re-load Org after the Git pull.
>
> No, that call was introduced in commit
> 0cecf32a0ae559266555b96668dc305710366c96
> by Nicolas Goaziou.
>
> I faced with the same problem; I started a fresh session of Emacs with
> Org-mode from git but Emacs stuck showing me that message (Symbol's
> function ...).
>
> I don't know Emacs Lisp very well but according to the commit now
> 'org-footnote-section' must call 'org-element-cache-reset' at
> initialization time (:set line in defcustom of 'org-footnote-section')
> and exactly that causes a problem.
>
> The workaround I found is to set 'org-section-footnote' to nil _before_
> (require 'org) in .emacs.
>
> > Regards,
> > Achim.
>
> ---
> WBR, Vladimir Lomov
>
> --
> The net is like a vast sea of lutefisk with tiny dinosaur brains embedded
> in it here and there. Any given spoonful will likely have an IQ of 1, but
> occasional spoonfuls may have an IQ more than six times that!
>         -- James 'Kibo' Parry
>
>

Reply via email to