From f40791ed24e934dc45cd1d3e55462faf900ac784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Balay=C3=A9?= <pierre.balaye@univ-lille.fr> Date: Wed, 20 May 2020 00:20:03 +0200 Subject: [PATCH] ~/emacs/layers/ can now be used with symlinks 4 private layers --- configs/spacemacs-minimal/init.el | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/configs/spacemacs-minimal/init.el b/configs/spacemacs-minimal/init.el index 53a0ed8..7513009 100644 --- a/configs/spacemacs-minimal/init.el +++ b/configs/spacemacs-minimal/init.el @@ -40,7 +40,9 @@ This function should only modify configuration layer settings." ;; List of additional paths where to look for configuration layers. ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') - dotspacemacs-configuration-layer-path '() + dotspacemacs-configuration-layer-path (list + (concat user-emacs-directory + "../../layers/")) ;; List of additional packages that will be installed without being ;; wrapped in a layer. If you need some configuration for these @@ -78,7 +80,10 @@ This function should only modify configuration layer settings." emacs-lisp git org - smartparens + + ;; private layers + smartparens + general ) ) @@ -509,9 +514,6 @@ If you are unsure, try setting them in `dotspacemacs/user-config' first." ;; -------------------------------------------------- ;; ------ Configuration common to all versions ------ ;; -------------------------------------------------- - (message (concat user-emacs-directory "../../layers/")) - ;; (setq-default dotspacemacs-configuration-layer-path '(concat user-emacs-directory "../../layers/")) - ;; -------------------------------------------------- ;; ----- Configuration specific to this version ----- @@ -548,6 +550,7 @@ before packages are loaded." ;; ------ Configuration common to all versions ------ ;; -------------------------------------------------- + (ulys/conf/general) (ulys/conf/dired) (ulys/conf/kbd) -- GitLab