blob: 1d7ab6b88d41d125b7b7f0ec0b3b8bae89091e7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
post_install () {
cat << EOF
==> Add this code to your .emacs file to include the core functions:
(require 'spacemacs-funcs)
==> For each additional Spacemacs layer from which you want utility functions (probably at least spacemacs-base):
(setq spacemacs-funcs-enabled-layers '("spacemacs-base"
"<name of other layer>"))
==> There's a good chance you'll have to add some definitions for variables before loading these layers. For example, "spacemacs-base" needs
(setq dotspacemacs-persistent-server nil)
==> Finall, if you enabled some layers:
(spacemacs-funcs-load-layers)
==> Or do all the above with use-package:
(use-package spacemacs-funcs
:config
(setq dotspacemacs-persistent-server nil)
(setq spacemacs-funcs-enabled-layers '("spacemacs-base"
"<name of other layer>")) ; To enable some layers
(spacemacs-funcs-load-layers)) ; If extra layers are enabled
)
EOF
}
post_upgrade () {
post_install $1
}
|