Load core-os sooner & in all sessions

Indirectly fixes set-env! errors when using it from your init files.
This commit is contained in:
Henrik Lissner 2018-06-18 12:04:30 +02:00
parent 1c4f785df1
commit 0d925cda5e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 7 additions and 9 deletions

View file

@ -1,8 +0,0 @@
;;; core/autoload/os.el -*- lexical-binding: t; no-byte-compile: t -*-
;; FIXME obsolete :env
;;;###autoload
(def-setting! :env (&rest vars)
:obsolete set-env!
(when (featurep 'exec-path-from-shell)
`(exec-path-from-shell-copy-envs ,@vars)))