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

Suppress byte compile warnings calling org-id-get #665

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Feb 5, 2025

What

Suppress byte compile warnings for calling org-id-get with different
number of args

Why

Later version of org added a fourth argument that we want to use if
available.

Note

Warning has been removed from 29.4 build

Uses hypb:with-suppressed-warnings as we are using that in another
place. The comment in the functions hints that it is a requirement due
to Emacs 26 being used in ELPA or for ELPA compatibility. The change
comes from 2022 so I would think that it is not required
anymore. Especially since Hyperbole can't be byte compiled nor used
without byte compilation using Emacsen earlier than Emacs 27!?

Later version of org added a fourth argument that we want to use if
available.
@matsl matsl merged commit e81710d into master Feb 6, 2025
4 checks passed
@matsl matsl deleted the suppress-byte-compile-warnings-for-org-id-get branch February 6, 2025 12:46
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