Add set-env! autodef; make :env obsolete

This commit is contained in:
Henrik Lissner
2018-06-15 03:15:34 +02:00
parent 3b0fad871f
commit 98d2f1de3f
8 changed files with 20 additions and 8 deletions

9
core/autoload/os.el Normal file
View File

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