3adf03b
To: vim_dev@googlegroups.com
3adf03b
Subject: Patch 7.3.359
3adf03b
Fcc: outbox
3adf03b
From: Bram Moolenaar <Bram@moolenaar.net>
3adf03b
Mime-Version: 1.0
3adf03b
Content-Type: text/plain; charset=UTF-8
3adf03b
Content-Transfer-Encoding: 8bit
3adf03b
------------
3adf03b
3adf03b
Patch 7.3.359
3adf03b
Problem:    Command line completion shows dict functions.
3adf03b
Solution:   Skip dict functions for completion. (Yasuhiro Matsumoto)
3adf03b
Files:	    src/eval.c
3adf03b
3adf03b
3adf03b
*** ../vim-7.3.358/src/eval.c	2011-10-26 13:19:23.000000000 +0200
3adf03b
--- src/eval.c	2011-11-30 14:53:38.000000000 +0100
3adf03b
***************
3adf03b
*** 875,881 ****
3adf03b
  
3adf03b
  #ifdef EBCDIC
3adf03b
      /*
3adf03b
!      * Sort the function table, to enable binary sort.
3adf03b
       */
3adf03b
      sortFunctions();
3adf03b
  #endif
3adf03b
--- 875,881 ----
3adf03b
  
3adf03b
  #ifdef EBCDIC
3adf03b
      /*
3adf03b
!      * Sort the function table, to enable binary search.
3adf03b
       */
3adf03b
      sortFunctions();
3adf03b
  #endif
3adf03b
***************
3adf03b
*** 21737,21742 ****
3adf03b
--- 21737,21745 ----
3adf03b
  	    ++hi;
3adf03b
  	fp = HI2UF(hi);
3adf03b
  
3adf03b
+ 	if (fp->uf_flags & FC_DICT)
3adf03b
+ 	    return NULL; /* don't show dict functions */
3adf03b
+ 
3adf03b
  	if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
3adf03b
  	    return fp->uf_name;	/* prevents overflow */
3adf03b
  
3adf03b
*** ../vim-7.3.358/src/version.c	2011-11-30 14:47:12.000000000 +0100
3adf03b
--- src/version.c	2011-11-30 14:56:57.000000000 +0100
3adf03b
***************
3adf03b
*** 716,717 ****
3adf03b
--- 716,719 ----
3adf03b
  {   /* Add new patch number below this line */
3adf03b
+ /**/
3adf03b
+     359,
3adf03b
  /**/
3adf03b
3adf03b
-- 
3adf03b
'Psychologist' -- Someone who looks at everyone else when
3adf03b
an attractive woman enters the room.
3adf03b
3adf03b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3adf03b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3adf03b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3adf03b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///