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

Fix for org-mode block check #8

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

bon
Copy link

@bon bon commented Nov 22, 2024

Hi Chris, nice package, love the org-mode integration!

org-in-src-block-p is intended to be called only in an org-mode buffer.
In other buffers it can lead to an rx error.

The fix first checks of we're in an org-mode buffer.

Breanndán Ó Nualláin added 2 commits November 22, 2024 17:51
org-in-src-block-p is intended to be called only in an org-mode buffer.
In other buffers it leads to an rx error.
@christophermadsen
Copy link
Owner

Hiya @bon, thank you for the nice words. I hope you're doing well.

Thank you for contributing, I will go ahead and merge your fix 👍🏻

@christophermadsen christophermadsen merged commit 88b9177 into christophermadsen:main Nov 27, 2024
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

Successfully merging this pull request may close these issues.

2 participants