mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Add set-env! autodef; make :env obsolete
This commit is contained in:
9
core/autoload/os.el
Normal file
9
core/autoload/os.el
Normal 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)))
|
Reference in New Issue
Block a user