-
I installed corfu using use-package and straight.el. In its repository, corfu has some elisp-files located in a subdirectory called So, how can I use corfu-history.el without having to manually load the file? In contrast, on another machine, I installed straight.el using GNU Guix which added both corfu.el and all extension-elisp-files into a single folder which was recursively loaded and added to load-path. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Have you added the extensions directory to the recipe's (corfu :files (:defaults "extensions/*")) |
Beta Was this translation helpful? Give feedback.
-
I am having the same problem, and I do not feel that this is a good answer. What if the recipe stored online changes? We won't notice it since we have our own recipe now. Is there an automatic way to modify the recipe so that it only adds the extensions to the loadpath, without having to manually set the whole recipe? |
Beta Was this translation helpful? Give feedback.
-
It shouldn't need to be on your load-path for this to work.
Sounds like you are on the "master" branch. This is fixed on the "develop" branch. You can switch by adding |
Beta Was this translation helpful? Give feedback.
Have you added the extensions directory to the recipe's
:files
? e.g.