Ilya Kaliman wrote:
> Index: bin/ksh/emacs.c
> ===================================================================
> RCS file: /cvs/src/bin/ksh/emacs.c,v
> retrieving revision 1.60
> diff -u -p -r1.60 emacs.c
> --- bin/ksh/emacs.c 19 Oct 2015 14:42:16 -0000 1.60
> +++ bin/ksh/emacs.c 27 Oct 2015 16:02:38 -0000
> @@ -42,8 +42,7 @@ struct x_ftab {
> };
>
> #define XF_ARG 1 /* command takes number prefix */
> -#define XF_NOBIND 2 /* not allowed to bind to function */
> -#define XF_PREFIX 4 /* function sets prefix */
> +#define XF_NOBIND 2 /* not allowed to bind to function */
>
> /* Separator for completion */
> #define is_cfs(c) (c == ' ' || c == '\t' || c == '"' || c == '\'')
This implies that there's only one flag used in x_ftab->xf_flags, so it
can be changed to a boolean. I'll try this soon.
(Of course, it could also mean that the code just represents the flags
as integer literals, but I looked at the uses and that isn't the case.)