Add force option to spacemacs//init-spacemacs-env call

This commit is contained in:
sergeiz2 2019-06-12 12:11:58 -05:00 committed by duianto
parent 19c429e7c0
commit 365c92bae5
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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)