about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 55887b1de..86a0b1ff6 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1466,7 +1466,7 @@ complistmatches(Hookdef dummy, Chdata dat)
 
     if (mselect >= 0 || mlbeg >= 0 ||
 	(mlistp = getsparam("LISTPROMPT"))) {
-	if (!*mlistp)
+	if (mlistp && !*mlistp)
 	    mlistp = "%SAt %p: Hit TAB for more, or the character to insert%s";
 	trashzle();
 	showinglist = listshown = 0;