Mercurial > emacs
comparison lisp/env.el @ 1218:678ff000d9c8
(setenv): Make it autoload.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 26 Sep 1992 21:34:39 +0000 |
parents | 6a8704922fe8 |
children | 9e7ec92a4fdf |
comparison
equal
deleted
inserted
replaced
1217:d0b19afef0ae | 1218:678ff000d9c8 |
---|---|
21 ;;; along with GNU Emacs; see the file COPYING. If not, write to | 21 ;;; along with GNU Emacs; see the file COPYING. If not, write to |
22 ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | 23 |
24 ;;; Code: | 24 ;;; Code: |
25 | 25 |
26 ;;;###autoload | |
26 (defun setenv (variable value) | 27 (defun setenv (variable value) |
27 "Set the value of the environment variable named VARIABLE to VALUE. | 28 "Set the value of the environment variable named VARIABLE to VALUE. |
28 VARIABLE and VALUE should both be strings. | 29 VARIABLE and VALUE should both be strings. |
29 This function works by modifying `process-environment'." | 30 This function works by modifying `process-environment'." |
30 (interactive "sSet environment variable: \nsSet %s to value: ") | 31 (interactive "sSet environment variable: \nsSet %s to value: ") |