Skip to content

Commit

Permalink
version 2
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/branches/unlabeled-1.20.2@5286 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
pd committed Jul 21, 1999
1 parent b7db98e commit d7ec438
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/options.c
Expand Up @@ -166,7 +166,7 @@ int R_SetOptionWarn(int w)
void InitOptions(void)
{
SEXP t, val, v;
PROTECT(v = val = allocList(10));
PROTECT(v = val = allocList(11));

TAG(v) = install("prompt");
CAR(v) = mkString("> ");
Expand Down Expand Up @@ -215,7 +215,13 @@ void InitOptions(void)
TAG(v) = install("check.bounds");
CAR(v) = allocVector(LGLSXP, 1);
LOGICAL(CAR(v))[0] = 0; /* no checking */
v = CDR(v);

TAG(v) = install("keep.source");
CAR(v) = allocVector(LGLSXP, 1);
LOGICAL(CAR(v))[0] = 0; /* no storage of function source */
/* turned on after load of base */

SYMVALUE(install(".Options")) = val;
UNPROTECT(2);
}
Expand Down

0 comments on commit d7ec438

Please sign in to comment.