spacemacs/layers
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
..
+chat [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+checkers fix #12554 goto-flycheck-error-list 2019-07-24 14:17:53 +02:00
+completion Fix C-k ivy-previous-line in ivy-switch-buffer 2019-09-17 18:28:02 +02:00
+distributions [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+emacs [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+email [mu4e][doc] Fix a typo and org verbatim emphasis 2019-09-01 23:11:10 +02:00
+filetree Turn off treemacs' minor modes when they are configured to be disabled. 2019-09-19 07:39:33 +02:00
+fonts/unicode-fonts Switch to the new layers generator 2019-05-15 21:08:21 +03:00
+frameworks [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+fun Layer +fun/emoji: Enable company-emoji-insert-unicode 2019-08-05 21:23:50 +02:00
+intl [japanese] Fix doc 2019-09-16 20:17:40 +02:00
+lang [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+misc docstring 2019-09-16 17:41:15 +03:00
+music/spotify Switch to the new layers generator 2019-05-15 21:08:21 +03:00
+os Add a layer variable osx-swap-option-and-command 2019-06-18 14:21:56 +02:00
+pair-programming/floobits Switch to the new layers generator 2019-05-15 21:08:21 +03:00
+readers Update dash layer to reflect dash-docs merge 2019-09-17 20:02:49 +02:00
+source-control [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+spacemacs Limit lines to 80 chars 2019-09-17 20:36:30 +02:00
+tags pycscope: ability to configure the binary name 2019-09-14 01:06:16 +02:00
+themes Revert "[themes-megapack] Add ewal-spacemacs-themes to themes-megapack layer." 2019-08-26 19:58:34 +02:00
+tools [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
+vim [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
+web-services Fixes issue of customize search engine list 2019-08-06 23:04:54 +02:00
auto-layer.el Add lazy-install to automatically install dart layer 2019-04-12 18:00:00 +02:00
LAYERS.org documentation formatting: Thu Sep 12 15:09:22 UTC 2019 2019-09-12 21:44:20 +02:00