aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-05 23:16:17 -0300
committerEuAndreh <eu@euandre.org>2018-07-05 23:16:17 -0300
commit16ce188467a913e0f8cf017e68ff520cf32ab0fe (patch)
tree51c9869507b7c142858dbe6e49a9e82694c024bf
parentUpgrade NixOS stateVersion (diff)
downloaddotfiles-16ce188467a913e0f8cf017e68ff520cf32ab0fe.tar.gz
dotfiles-16ce188467a913e0f8cf017e68ff520cf32ab0fe.tar.xz
Update spacemacs.el from new things from spacemacs.template
-rw-r--r--spacemacs.el14
1 files changed, 11 insertions, 3 deletions
diff --git a/spacemacs.el b/spacemacs.el
index d19a92c..b16a9d8 100644
--- a/spacemacs.el
+++ b/spacemacs.el
@@ -451,6 +451,14 @@ It should only modify the values of Spacemacs settings."
;; (default nil)
dotspacemacs-pretty-docs nil))
+(defun dotspacemacs/user-env ()
+ "Environment variables setup.
+This function defines the environment variables for your Emacs session. By
+default it calls `spacemacs/load-spacemacs-env' which loads the environment
+variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
+See the header of this file for more information."
+ (spacemacs/load-spacemacs-env))
+
(defun dotspacemacs/user-init ()
"Initialization for user code:
This function is called immediately after `dotspacemacs/init', before layer
@@ -461,9 +469,9 @@ If you are unsure, try setting them in `dotspacemacs/user-config' first."
(defun dotspacemacs/user-load ()
"Library to load while dumping.
-This function is called while dumping Spacemacs configuration. You can
-`require' or `load' the libraries of your choice that will be included
-in the dump."
+This function is called only while dumping Spacemacs configuration. You can
+`require' or `load' the libraries of your choice that will be included in the
+dump."
)