From 7a40d6c258ad87d147ee5d6839e746c33ebc0ac7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:12:56 +0000 Subject: zsh-3.1.5-pws-6 --- Src/Zle/zle.h | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'Src/Zle/zle.h') diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index f12505bd3..144bb1996 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -46,7 +46,6 @@ struct widget { union { ZleIntFunc fn; /* pointer to internally implemented widget */ char *fnnam; /* name of the shell function for user-defined widget */ - Compctl cc; /* for use with a WIDGET_COMP widget */ struct { ZleIntFunc fn; /* internal widget function to call */ char *wid; /* name of widget to call */ @@ -56,20 +55,15 @@ struct widget { }; #define WIDGET_INT (1<<0) /* widget is internally implemented */ -#define WIDGET_COMP (1<<1) /* Special completion widget */ -#define WIDGET_NCOMP (1<<2) /* new style completion widget */ -#define ZLE_MENUCMP (1<<3) /* DON'T invalidate completion list */ -#define ZLE_YANK (1<<4) -#define ZLE_LINEMOVE (1<<5) /* command is a line-oriented movement */ -#define ZLE_LASTCOL (1<<6) /* command maintains lastcol correctly */ -#define ZLE_KILL (1<<7) -#define ZLE_KEEPSUFFIX (1<<9) /* DON'T remove added suffix */ -#define ZLE_USEMENU (1<<10) /* Do ) use menu completion for */ -#define ZLE_NOMENU (1<<11) /* Don't ) widget, else use default */ -#define ZLE_USEGLOB (1<<12) /* Do ) use glob completion for */ -#define ZLE_NOGLOB (1<<13) /* Don't ) widget, else use default */ -#define ZLE_NOTCOMMAND (1<<14) /* widget should not alter lastcmd */ -#define ZLE_ISCOMP (1<<15) /* usable for new style completion */ +#define WIDGET_NCOMP (1<<1) /* new style completion widget */ +#define ZLE_MENUCMP (1<<2) /* DON'T invalidate completion list */ +#define ZLE_YANK (1<<3) +#define ZLE_LINEMOVE (1<<4) /* command is a line-oriented movement */ +#define ZLE_LASTCOL (1<<5) /* command maintains lastcol correctly */ +#define ZLE_KILL (1<<6) +#define ZLE_KEEPSUFFIX (1<<7) /* DON'T remove added suffix */ +#define ZLE_NOTCOMMAND (1<<8) /* widget should not alter lastcmd */ +#define ZLE_ISCOMP (1<<9) /* usable for new style completion */ /* thingies */ struct thingy { -- cgit 1.4.1