spacemacs/core
syl20bnr 95699ee61c core: add layer shadowing system
Layers can now declare in their layers.el file that they shadow one or more
layers using the following functions:

- configuration-layer/shadow-layers
- configuration-layer/shadow-layer

Those function are commutative so:
    (configuration-layer/shadow-layer 'layer1 'layer2)
is the same as
    (configuration-layer/shadow-layer 'layer2 'layer1)
and means that
layer1 shadows layer2
and
layer2 shadows layer1

The typical use-case is helm and ivy layers. Helm shadows the ivy layer and
Ivy shadows the helm layer.

Shadowing is sensitive to the order of declaration of layers in the dotfile,
for instance:

    (setq dotspacemacs-configuration-layers '(
      helm
      ivy
     ))

means that ivy shadows helm so helm layer is effectively ignored,
whereas

    (setq dotspacemacs-configuration-layers '(
      ivy
      helm
     ))

means that helm shadows ivy so ivy layer is effectively ignored.

This mechanism can be turned off using the :can-shadow keyword:

    (setq dotspacemacs-configuration-layers '(
      ivy
      (helm :can-shadow nil)
     ))

means that both ivy and helm layers will be installed (not recommended in this
case)

Note that the `:can-shadow` mechanism will be fully implemented in a next
commit.
2017-09-21 23:56:09 -04:00
..
aprilfool Bump year in copyright headers 2017-01-05 23:08:17 -05:00
banners
info Fix spelling 2017-04-09 22:59:06 -04:00
libs Latest spacemacs-theme updates 2017-07-17 20:18:32 +01:00
templates dsm-vars: fix docstrings and comments, better consistency 2017-08-09 16:12:51 +03:00
tools Add new Docker files for CI 2017-08-31 19:12:45 +03:00
core-command-line.el core: rename configuration-layer/sync to configuration-layer/load 2017-07-01 10:54:37 -04:00
core-configuration-layer.el core: add layer shadowing system 2017-09-21 23:56:09 -04:00
core-custom-settings.el core: allow users to set custom-file variable 2017-03-12 12:10:21 -04:00
core-debug.el use url-hexify-string to encode issue report body 2017-07-31 14:58:57 +03:00
core-display-init.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
core-documentation.el QF current export with relocate files 2017-08-03 10:23:53 +03:00
core-dotspacemacs.el dsm-vars: fix docstrings and comments, better consistency 2017-08-09 16:12:51 +03:00
core-emacs-backports.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
core-fonts-support.el core: Fix spacemacs/diminish-undo and add documentation about it 2017-04-13 00:17:24 -04:00
core-funcs.el core: change <function>p to <function>-p suffixes for consistency 2017-07-02 10:09:39 -04:00
core-jump.el core: jump-handers, :async can now take a predicate function 2017-03-19 12:40:36 -04:00
core-keybindings.el Replace obsolete which-key functions 2017-06-15 13:22:13 +02:00
core-load-paths.el core: import spacemacs-theme into libs 2017-01-25 00:30:31 -05:00
core-micro-state.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
core-release-management.el Mention the change of dotspacemacs-check-for-update in the documentation 2017-05-18 18:22:24 +02:00
core-spacemacs-buffer.el core: change <function>p to <function>-p suffixes for consistency 2017-07-02 10:09:39 -04:00
core-spacemacs.el Fix disabled scrollbar remains 2017-06-21 09:37:05 +02:00
core-themes-support.el Fix the base16-solarflare mapping in core-themes-support.el 2017-07-06 08:48:39 +02:00
core-toggle.el Check toggle condition in status function 2017-05-24 13:05:17 +02:00
core-transient-state.el transient-state: Improve handling of additional bindings 2017-05-23 16:03:03 +02:00
core-use-package-ext.el Always return t from use-package pre/post hooks. 2017-03-24 14:26:56 +03:00