-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
fboundp not suppressing error for function that was removed then re-added #240
Comments
I can't reproduce this now, so I think this is resolved. |
I'm still able to reproduce this using emacs -Q and emacs29.2. Specifically:
Which gives the following:
|
Thanks, I confirmed it and fixed both the tests and package-lint to resolve the issue. |
(I don't know why I failed to reproduce the issue when I first tried, sorry about that.) |
Can confirm the latest release on MELPA fixes the issue on my end. Thank you! |
I have a problem where
fboundp
is not suppressing an error frompackage-lint
, even when I think it should.In particular, in org-caldav.el,
package-lint
currently returns the following error:Even though the call is wrapped in
(if (fboundp 'org-datetree-find-month-create) ...)
, which I think should suppress that error.It seems to be because
org-datetree-find-month-create
was removed, then added back, to org-mode. In particular, if we don't wrap infboundp
, package-lint reports an additional error:And wrapping in
fboundp
removes the first error, but not the second.Is this a bug in package-lint? If not, what would be the right way for org-caldav to fix the issue?
The text was updated successfully, but these errors were encountered: