# HG changeset patch # User Bram Moolenaar # Date 1322661451 -3600 # Node ID b7f0f23bf90603f83854fd1aece09fcc64876a29 # Parent b82c6ac2df3ab89bff58b6735d0393468f1b37ef updated for version 7.3.359 Problem: Command line completion shows dict functions. Solution: Skip dict functions for completion. (Yasuhiro Matsumoto) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -875,7 +875,7 @@ eval_init() #ifdef EBCDIC /* - * Sort the function table, to enable binary sort. + * Sort the function table, to enable binary search. */ sortFunctions(); #endif @@ -21737,6 +21737,9 @@ get_user_func_name(xp, idx) ++hi; fp = HI2UF(hi); + if (fp->uf_flags & FC_DICT) + return NULL; /* don't show dict functions */ + if (STRLEN(fp->uf_name) + 4 >= IOSIZE) return fp->uf_name; /* prevents overflow */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 359, +/**/ 358, /**/ 357,