-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local packages for private layers not loading #10417
Comments
I have found a workaround. If |
Now all packages loading is deferred. Seems like your doesnt expose autoloaded function. Could be used via :commands section of use-package |
Here is description: https://github.com/syl20bnr/spacemacs/blob/develop/doc/LAYERS.org#use-package |
Since 29c78ce, Spacemacs sets If previously you had a package configured like this: ;; before `use-package-always-defer' change
(use-package foo
:config (foo-mode)) You can restore the original correct behavior with this change: ;; after `use-package-always-defer' change
(use-package foo
:demand t
:config (foo-mode)) As @myrgy wrote, if it makes sense to defer the package until it's really needed, you can adapt your configuration to lazy-loading (e.g. via |
syl20bnr explained why the change was made, in this gitter message:
source: https://gitter.im/syl20bnr/spacemacs?at=5a963234e4d1c63604a34fd2 |
I think this was a mistake to use Going to revert, sorry for the bad good idea :-) Great work @bmag by the way 👍 |
Reverted in commit: ebe4c60 |
BTW, does anyone know if it's possible to use |
@agzam , I suspect that |
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
Local packages for private layers not loading
I have number of private layers in
dotspacemacs-configuration-layer-path
with local packages, e.g.:
my-package
listed in layer's package.el with:location local
,everything seems to be correct in init function and in
use-package
body. Most importantly it used to work. But it somehow stopped. And I can't figure out what has changed.upd: it appears to be broken only in
develop
System Info 💻
The text was updated successfully, but these errors were encountered: