Load core-os sooner & in all sessions
Indirectly fixes set-env! errors when using it from your init files.
This commit is contained in:
parent
1c4f785df1
commit
0d925cda5e
3 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue