Closed jackkamm closed 9 months ago
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:
emacs -Q -L ~/.emacs.d/elpa/package-lint-20240214.1423/ ~/src/org-caldav/org-caldav.el
M-: (require 'package-lint)
M-x package-lint-current-buffer
Which gives the following:
2 issues found:
10:38: error: Package org is not installable.
1361:7: error: `org-datetree-find-month-create' was removed in Emacs version 26.1.
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?