🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1215

Error in doc string of 'setenv'

#1215
From: Dale Worley
Date: Wed, 30 Nov 1988 15:05
28 lines
1279 bytes
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
Technical Details
Message-ID: <8811301505.AA25623@galaxy.compass.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!compass.uucp!worley

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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