summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-11-30 14:57:31 +0100
committerBram Moolenaar <bram@vim.org>2011-11-30 14:57:31 +0100
commit76002e07482f51315df92b0bc95e2d3ceff19e2f (patch)
tree3b93d75c8132d51fc72c2c8bbe84732065320577
parent131217fa689c926580564b9a69fbef42182ad97e (diff)
downloadvim-76002e07482f51315df92b0bc95e2d3ceff19e2f.tar.gz
updated for version 7.3.359v7.3.359v7-3-359
Problem: Command line completion shows dict functions. Solution: Skip dict functions for completion. (Yasuhiro Matsumoto)
-rw-r--r--src/eval.c5
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 5c26248d..84749563 100644
--- 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
index fe867ba1..b186a736 100644
--- 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,