diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2000-07-19 20:43:51 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2000-07-19 20:43:51 +0000 |
commit | 495249342e38606e9aaece1c94276f0dfeb5e5e0 (patch) | |
tree | abd50d33d2570e242f537b296507b9d1813a8ef1 /Src | |
parent | 9e7b3f1d255a132a5cb3c4627ff9b3b6626b1e56 (diff) | |
download | zsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.tar.gz zsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.tar.xz zsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.zip |
Removed call to remhist().
Diffstat (limited to 'Src')
-rw-r--r-- | Src/builtin.c | 2 | ||||
-rw-r--r-- | Src/exec.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 6b5ca4e8e..7dd9317b1 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -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); diff --git a/Src/exec.c b/Src/exec.c index 7896bb3a0..027c11ca2 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -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; } |