-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol's function definition is void: org-babel--get-vars #10
Comments
Strange... I'm using org-mode 8.3.4 (but with emacs 24.5) and symbol https://github.com/pope/ob-go/blob/master/ob-go.el#L187 I had a similar problem, but for 'org-babel-get-header not defined` in 8.3.3 and then I added this compat function to solve the problem. At that time I found this link: I don't know what to do here... The release notes of org-mode 8.3.[3,4] doesn't say nothing about org-babel-get-header/org-babel--get-vars, but the master branch (or 9.0 release notes) do say to avoid As I'd said before, I think the best way to guarantee this package working across orgmode versions should be submitting it upstream... |
|
|
Hmm, just figured out that my org is not a released version of orgmode 8.3.4 but a cloned git repo... It says 8.3.4 in (org-version) but it was the master branch of March 14 2016 ... Sorry about that. @pope The function |
The function `org-babel--get-vars` is only defined in the master branch (orgmode 9.0). Add a simple check verifying if `org-babel-get-header` exists and only use `org-babel--get-vars` otherwise. Closes pope#10
Maybe check if function is defined is better idea than checking version number at here. |
I am using Emacs 25 (compiled from source) and org-mode (release-8.3.4)
When I try code block as below:
I got error: "Symbol's function definition is void: org-babel--get-vars"
When I install org-mode from master branch, it works fine.
The text was updated successfully, but these errors were encountered: