mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(setenv): Renamed back from putenv.
This commit is contained in:
parent
cc1344d5cf
commit
b3b8e91578
1 changed files with 1 additions and 4 deletions
|
|
@ -31,7 +31,7 @@
|
|||
;;; Code:
|
||||
|
||||
;;;###autoload
|
||||
(defun putenv (variable &optional value)
|
||||
(defun setenv (variable &optional value)
|
||||
"Set the value of the environment variable named VARIABLE to VALUE.
|
||||
VARIABLE should be a string. VALUE is optional; if not provided or is
|
||||
`nil', the environment variable VARIABLE will be removed.
|
||||
|
|
@ -52,9 +52,6 @@ This function works by modifying `process-environment'."
|
|||
(setq process-environment
|
||||
(cons (concat variable "=" value) process-environment))))))))
|
||||
|
||||
;; Provide backward-contemptibility.
|
||||
(fset 'setenv 'putenv)
|
||||
|
||||
(provide 'env)
|
||||
|
||||
;;; env.el ends here
|
||||
|
|
|
|||
Loading…
Reference in a new issue