aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."
)