emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: org-collect-keywords is void when config uses org-babel-load-fi


From: Kyle Meyer
Subject: Re: Bug: org-collect-keywords is void when config uses org-babel-load-file [9.3.6 (release_9.3.6-683-g3b2de4 @ /home/eric/.emacs.d/straight/build/org/)]
Date: Wed, 03 Jun 2020 04:03:20 +0000

Eric Berquist writes:

> When loading a configuration using `(org-babel-load-file (concat
> user-emacs-directory "config.org"))` in `init.el`, this message is reported:
>
>     org-export--get-inbuffer-options: Symbol’s function definition is
>     void: org-collect-keywords
>
> and export doesn't work.

Hmm, org-export--get-inbuffer-options is defined in ox.el, and
org-collect-keywords in org.el.  Even though ox.el doesn't load org.el
explicitly, it pulls it in through other things (org-element, at least),
so it should be defined.  But based on the org-babel-load-file
instructions you're giving, an older org.el is already loaded, and
presumably that is what is leading to the error.

I'd assume that in general using the built-in Org to load a newer Org is
going to be susceptible to these sorts of issues (along the lines of
what's described at <https://orgmode.org/worg/org-faq.html#mixed-install>).



reply via email to

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