about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:16:32 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:16:32 +0000
commit92637abbb870dc35e1af9150741f7b11587a3350 (patch)
tree0720a090889ec58db87992e6a4e9712a1c939739 /Src
parentc15091b7d196c8fcc15bf8f13f8c7ccf62479b85 (diff)
downloadzsh-92637abbb870dc35e1af9150741f7b11587a3350.tar.gz
zsh-92637abbb870dc35e1af9150741f7b11587a3350.tar.xz
zsh-92637abbb870dc35e1af9150741f7b11587a3350.zip
misc. completion cleanups and changes (11242)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complete.mdd10
-rw-r--r--Src/Zle/complist.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/Src/Zle/complete.mdd b/Src/Zle/complete.mdd
index 628058e2a..8d4a59d66 100644
--- a/Src/Zle/complete.mdd
+++ b/Src/Zle/complete.mdd
@@ -1,11 +1,11 @@
-hasexport=1
+name=zsh/complete
 
-moddeps="zle"
+moddeps="zsh/zle"
 
-autobins="compgen compadd compset"
+autobins="compadd compset"
 
 autoprefixconds="prefix suffix between after"
 
-autoparams="compmatchers"
+headers="comp.h"
 
-objects="complete.o"
+objects="complete.o compcore.o compmatch.o compresult.o"
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index f6a871f0f..76fbaf58b 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1589,7 +1589,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    if ((step += lines - nlnct) < 0)
 		step = 1;
     }
-    if ((mstatus = getsparam("MENUPROMPT")) && !*mstatus)
+    if ((mstatus = dupstring(getsparam("MENUPROMPT"))) && !*mstatus)
 	mstatus = "%SScrolling active: current selection at %p%s";
     mhasstat = (mstatus && *mstatus);
     fdat = dat;