Closed Novite5 closed 3 years ago
commandp hints to a non interactive function being linked to a key binding, if the function makes sense here it must be wrapped into an interactive one.
As non-programmer I have no idea how to solve this problem.
But could this be caused by langtool
package in elpa?
Because even in M-x
can't find langtool-correct-this-buffer
command.
@Novite5 no problem I can take care. About the source I am not sure, basically someone did bound a non interactive function at a slot were only interactive functions are allowed. This could have been wrong from the beginning or have been changed afterwards.
Anyway the change should be pretty easy, let me have a look.
Done, the package was missing an autoload on langtool-correct-this-buffer
. I have added this in our use-package declaration now and the issue was gone for me. @Novite5 can you double check?
Yes. It has been fixed. Thank you very much for your work! :)
Description :octocat:
languagetool layer doesn't work, can't get to some functions.
Reproduction guide :beetle:
languagetool
layer and setlangtool-java-classpath
Observed behaviour: :eyes: :broken_heart: Press
SPC S L
, print out the information:command-execute: Wrong type argument: commandp, langtool-correct-buffer
But
SPC S l
works.M-X
can only find two commands:langtool-check
andlangtool-check-buffer
Previously I use langtool as additional package, all commands can be found.
Expected behaviour: :heart: :smile: <>
System Info :computer:
Backtrace :paw_prints: