Mirror of the Vim source from https://github.com/vim/vim
Revisión | c3bd0a84e11ad1caf53402dbebc39ea8b01fc832 (tree) |
---|---|
Tiempo | 2006-11-22 03:36:05 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0-167
@@ -18539,12 +18539,14 @@ | ||
18539 | 18539 | |
18540 | 18540 | if (!eap->skip) |
18541 | 18541 | { |
18542 | - /* Check the name of the function. */ | |
18542 | + /* Check the name of the function. Unless it's a dictionary function | |
18543 | + * (that we are overwriting). */ | |
18543 | 18544 | if (name != NULL) |
18544 | 18545 | arg = name; |
18545 | 18546 | else |
18546 | 18547 | arg = fudi.fd_newkey; |
18547 | - if (arg != NULL) | |
18548 | + if (arg != NULL && (fudi.fd_di == NULL | |
18549 | + || fudi.fd_di->di_tv.v_type != VAR_FUNC)) | |
18548 | 18550 | { |
18549 | 18551 | if (*arg == K_SPECIAL) |
18550 | 18552 | j = 3; |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 167, | |
671 | +/**/ | |
670 | 672 | 166, |
671 | 673 | /**/ |
672 | 674 | 165, |