spacemacs/core
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
..
aprilfool Happy New Year 2018! 2018-01-04 02:00:25 -05:00
banners Add inverted Dogemacs banner for dark themes 2019-06-02 21:42:32 +02:00
gnupg [core] Update spacemacs GPG public key 2019-08-23 12:39:22 -04:00
info core: change scope of elpa stable variables 2017-11-01 23:23:34 -04:00
libs Update spacemacs-theme to remove conflicts with newer themes 2019-08-02 20:20:53 +02:00
templates [core] Add lsp layer to .spacemacs template 2019-09-30 00:50:01 -04:00
core-command-line.el dump: add command line parameter --force-dump 2018-05-20 03:58:48 -04:00
core-configuration-layer.el [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
core-custom-settings.el custom setting: don't write to dotfile before loading all of them 2019-02-18 14:21:06 -05:00
core-debug.el Fix various typos 2018-05-23 22:12:30 -04:00
core-display-init.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
core-documentation.el fix links 2019-05-18 13:25:44 +03:00
core-dotspacemacs.el Fix formatting core/core-dotspacemacs.el 2019-08-06 17:59:06 +02:00
core-dumper.el Fix regular loading of Emacs (i.e. without a dump file) 2019-07-26 23:20:18 -04:00
core-emacs-backports.el [core] Better work-around for GnuTLS bug with emacs 26.1 and 26.2 2019-09-14 22:15:53 -04:00
core-env.el Add force option to spacemacs//init-spacemacs-env call 2019-06-13 18:42:15 +02:00
core-fonts-support.el Add properties for mode-line theme, remove powerline-scale 2018-01-16 22:59:29 -05:00
core-funcs.el [core] Avoid graphical glitches with empty modeline 2019-08-21 23:30:55 -04:00
core-hooks.el core: fix potential undefined function error with transient hooks 2018-07-04 15:38:15 -04:00
core-jump.el core: add reference handler as per jump handler 2019-07-15 12:28:04 +02:00
core-keybindings.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
core-load-paths.el core: rework environment variables and PATH management 2018-06-25 02:55:28 -04:00
core-micro-state.el Propose a couple of spelling corrections 2018-08-02 00:20:06 +03:00
core-progress-bar.el core: refactor the progress bar 2018-06-10 02:32:29 -04:00
core-release-management.el Propose a couple of spelling corrections 2018-08-02 00:20:06 +03:00
core-spacemacs-buffer.el Revert "colorized files and folders in spacemacs buffer lists" 2019-07-22 00:08:58 +02:00
core-spacemacs.el Revert "Improve theme handling to support themes using `spacemacs-theme` custom api" 2019-08-17 11:07:48 +02:00
core-themes-support.el Revert "[themes-megapack] Add `ewal-spacemacs-themes` to `themes-megapack` layer." 2019-08-26 19:58:34 +02:00
core-toggle.el Add toggle key docs to docstring and which-key mouseover 2019-08-06 23:38:53 +02:00
core-transient-state.el Rename spacemacs/mplist-get functions to be more descriptive 2018-06-14 00:15:49 -04:00
core-use-package-ext.el Rename spacemacs/mplist-get functions to be more descriptive 2018-06-14 00:15:49 -04:00
core-versions.el dump: revert minimum version to 25.1 2018-05-20 03:58:48 -04:00