It seems that
check-declare-file do not recognize functions defined via
I was happy using
declare-function because it comes with
check-declare-file that actually checks whether the declaration is consistent with the actual code in some other source file. However, when I upgraded the code for one of my declared functions, adding some keyword arguments and relying on
cl-defun for handling them,
check-declare-file could not validate and said that the function was not to be found.
Is there a workaround I could use? Or maybe
declare-function is obsolete and there is some newer method I should use instead?