about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2000-07-19 20:43:51 +0000
committerWayne Davison <wayned@users.sourceforge.net>2000-07-19 20:43:51 +0000
commit495249342e38606e9aaece1c94276f0dfeb5e5e0 (patch)
treeabd50d33d2570e242f537b296507b9d1813a8ef1
parent9e7b3f1d255a132a5cb3c4627ff9b3b6626b1e56 (diff)
downloadzsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.tar.gz
zsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.tar.xz
zsh-495249342e38606e9aaece1c94276f0dfeb5e5e0.zip
Removed call to remhist().
-rw-r--r--Src/builtin.c2
-rw-r--r--Src/exec.c2
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;
 }