From 365c92bae5f600d0548eb2bb7f43ebb1de0ae18d Mon Sep 17 00:00:00 2001 From: sergeiz2 Date: Wed, 12 Jun 2019 12:11:58 -0500 Subject: [PATCH] Add force option to spacemacs//init-spacemacs-env call --- CHANGELOG.develop | 2 ++ core/core-env.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 97fc31194..c467803ce 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -551,6 +551,8 @@ Other: - Fixed search for "find" executable in windows (thanks to Charlie Barto) - Found workaround for =buffer-list-update-hook= performance issue. (thanks to Alexander Miller) + - Added missing force argument to the =spacemacs//init-spacemacs-env= call in + the function =spacemacs/load-spacemacs-env= (thanks to sergeiz2) - Other: - New function =configuration-layer/message= to display message in =*Messages*= buffer (thanks to Sylvain Benner) diff --git a/core/core-env.el b/core/core-env.el index 5a3f4c0fb..d4c90e2f5 100644 --- a/core/core-env.el +++ b/core/core-env.el @@ -120,7 +120,7 @@ file." (interactive "P") (setq spacemacs--spacemacs-env-loaded t) (when (or force (display-graphic-p)) - (spacemacs//init-spacemacs-env) + (spacemacs//init-spacemacs-env force) (load-env-vars spacemacs-env-vars-file))) (provide 'core-env)