summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-03-28 22:27:23 +0000
committerRichard M. Stallman <rms@gnu.org>1993-03-28 22:27:23 +0000
commit3f2e5b1e3eb93b4c0648e10d890a1a2e7db10644 (patch)
treeffb01e7524f1d5e5be770ca8e586b6c84e4a5b18 /lisp
parenteafaeeb4f3773631a3f67749fb4d0b1290b6bcfa (diff)
downloademacs-3f2e5b1e3eb93b4c0648e10d890a1a2e7db10644.tar.gz
(setenv): Renamed back from putenv.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/env.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/env.el b/lisp/env.el
index 145c164ddde..256a3338e60 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -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