mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Load core-os sooner & in all sessions
Indirectly fixes set-env! errors when using it from your init files.
This commit is contained in:
@ -15,6 +15,12 @@
|
||||
(defmacro set-env! (&rest _vars)
|
||||
"Inject VARS from your shell environment into Emacs.")
|
||||
|
||||
;; FIXME obsolete :env
|
||||
(def-setting! :env (&rest vars)
|
||||
:obsolete set-env!
|
||||
(when (featurep 'exec-path-from-shell)
|
||||
`(exec-path-from-shell-copy-envs ,@vars)))
|
||||
|
||||
(cond (IS-MAC
|
||||
(setq mac-command-modifier 'meta
|
||||
mac-option-modifier 'alt
|
||||
|
Reference in New Issue
Block a user