[gnu.emacs.bug] Error in doc string of 'setenv'

worley@compass.uucp (Dale Worley) (11/30/88)

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