about summary refs log tree commit diff
path: root/Src/Zle/zle_thingy.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-06-07 10:57:24 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-06-07 10:57:24 +0000
commit37199039b2666815e42072ba934001fadb53b183 (patch)
tree4f35f0f5e9dcbd5cb9b0d5ad3b415b42647607c2 /Src/Zle/zle_thingy.c
parent9e97cfa052cba672d68dd6e7dfd7628719eda5aa (diff)
downloadzsh-37199039b2666815e42072ba934001fadb53b183.tar.gz
zsh-37199039b2666815e42072ba934001fadb53b183.tar.xz
zsh-37199039b2666815e42072ba934001fadb53b183.zip
17301: improve zle -I.
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r--Src/Zle/zle_thingy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index 2aef7ecd4..26fc49906 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -672,7 +672,7 @@ bin_zle_call(char *name, char **args, char *ops, char func)
 static int
 bin_zle_invalidate(char *name, char **args, char *ops, char func)
 {
-    if (zleactive) {
+    if (zleactive && !trashedzle) {
 	trashzle();
 	return 0;
     } else