1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00

Removed call to remhist().

This commit is contained in:
Wayne Davison 2000-07-19 20:43:51 +00:00
parent 9e7b3f1d25
commit 495249342e
2 changed files with 0 additions and 4 deletions

@ -1208,8 +1208,6 @@ bin_fc(char *nam, char **argv, char *ops, int func)
savehistfile(*argv, 1, HFILE_APPEND | (ops['I'] ? HFILE_SKIPOLD : 0));
return 0;
}
if (!(ops['l'] && unset(HISTNOSTORE)))
remhist();
/* put foo=bar type arguments into the substitution list */
while (*argv && equalsplit(*argv, &s)) {
Asgment a = (Asgment) zhalloc(sizeof *a);

@ -3120,8 +3120,6 @@ execfuncdef(Estate state, int do_exec)
}
shfunctab->addnode(shfunctab, ztrdup(s), shf);
}
if (isset(HISTNOFUNCTIONS))
remhist();
state->pc = end;
return 0;
}