about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-07 10:51:36 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-07 10:51:36 +0000
commita36b71ca45ff342ebbc8ffd6939feaa350726b2b (patch)
tree4bc6d8db72afc0a62ea3142b8c7c506d61e5e6c5 /Src/Zle
parent39aaf661bf36788c5ab02fb5477bb2c2c442f597 (diff)
downloadzsh-a36b71ca45ff342ebbc8ffd6939feaa350726b2b.tar.gz
zsh-a36b71ca45ff342ebbc8ffd6939feaa350726b2b.tar.xz
zsh-a36b71ca45ff342ebbc8ffd6939feaa350726b2b.zip
zsh-workers/8151
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_tricky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index d77301517..7c9e9e392 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -7957,7 +7957,7 @@ unambig_data(int *cp)
 	    scache = cline_str((ainfo->count ? ainfo->line : fainfo->line),
 			       0, &ccache);
 	}
-    } else {
+    } else if (mnum != unambig_mnum || !ainfo || !scache) {
 	zsfree(scache);
 	scache = ztrdup("");
 	ccache = 0;