def-setting! will now grab the autodef's docstring if it has an :obsolete property defined.
8 lines
251 B
EmacsLisp
8 lines
251 B
EmacsLisp
;;; 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)))
|