Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!compass.uucp!worley
From: worley@compass.uucp (Dale Worley)
Newsgroups: gnu.emacs.bug
Subject: Error in doc string of 'setenv'
Message-ID: <8811301505.AA25623@galaxy.compass.com>
Date: 30 Nov 88 15:05:56 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 28

The documentation for setenv is essentially the same as the
documentation for getenv.  This is an error.  The following patch
fixes this.

*** environ.c.old	Fri Nov  7 17:54:30 1986
--- environ.c	Wed Nov 30 10:04:51 1988
***************
*** 284,292 ****
  
  DEFUN ("setenv", Fsetenv, Ssetenv, 1, 2,
    "sEnvironment variable: \nsSet %s to value: ",
!   "Return the value of environment variable VAR, as a string.\n\
! When invoked interactively, print the value in the echo area.\n\
! VAR is a string, the name of the variable.")
    (str, val)
       Lisp_Object str;
       Lisp_Object val;
--- 284,291 ----
  
  DEFUN ("setenv", Fsetenv, Ssetenv, 1, 2,
    "sEnvironment variable: \nsSet %s to value: ",
!   "Set the value of environment variable VAR to VALUE.\n\
! Both must be strings.  Returns VALUE.")
    (str, val)
       Lisp_Object str;
       Lisp_Object val;

Dale