Skip to content
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-element-with-disabled-cache #77

Closed
la-marc opened this issue Aug 19, 2023 · 5 comments
Closed

Comments

@la-marc
Copy link

la-marc commented Aug 19, 2023

Hi!

I've used org-ai a number of times in the past and had no problems (at least with the most basic usage, I haven't done anything fancy).

Today, when running C-c C-c on an "ai" code block in org mode, I'm getting the error from the title.
My Emacs version is 28.2, I have updated all the packages and now org-ai says its version is 20230819.41.
I have installed org-ai via use-package.
I have tried org-element-cache-reset with no success.

I'll appreciate any help!

@rksm
Copy link
Owner

rksm commented Aug 19, 2023

Hi there, that is strange. Does the issue persist after a restart? What does M-x org-version return?

@rksm
Copy link
Owner

rksm commented Aug 19, 2023

And does the issue persist when you evaluate (require 'org-macs) and do C-c C-c after that?

@la-marc
Copy link
Author

la-marc commented Aug 19, 2023

Thanks for the reply!
It does persist after a restart. M-x org-version returns 9.5.5.
I did (require 'org-macs) and C-c C-c (on the ai block) -- still the same error.

@rksm
Copy link
Owner

rksm commented Aug 20, 2023

Thank you. Yeah, indeed the macro is not available in the older org-mode version. I'll submit a fix for it in a few minutes.

@rksm rksm closed this as completed in e188f2b Aug 20, 2023
@la-marc
Copy link
Author

la-marc commented Aug 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants