I use use-package
and pulled in the treemacs
package with the default settings. Then I byte-compiled my .emacs
file. But I still get a warning saying:
the following functions might not be defined at runtime: treemacs--find-python3, treemacs-follow-mode, treemacs-filewatch-mode, treemacs-fringe-indicator-mode, treemacs-git-mode
I also tried to add these modes in the :defines
parameter in use-package
, but has no effect.
How to get rid of these warnings properly?
require
instead ofuse-package
, just ignore the warnings, or don’t bother byte-compiling your.emacs
.