diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-05-31 22:22:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-05-31 22:22:17 +0000 |
commit | 54ee775e9d147f8751f38b39e22b1e0b6b9e445d (patch) | |
tree | bf6a49e78703aba9a0e8da498485d6c2ffa15e48 /src/ex_cmds2.c | |
parent | 5c06f8b043e413d887ceb1af850ac7ba5034151e (diff) | |
download | vim-git-54ee775e9d147f8751f38b39e22b1e0b6b9e445d.tar.gz |
updated for version 7.0077v7.0077
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index c22414e4d..5ff0d402f 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -2467,8 +2467,12 @@ do_in_runtimepath(name, all, callback, cookie) if (buf != NULL && rtp_copy != NULL) { if (p_verbose > 1) + { + verbose_enter(); smsg((char_u *)_("Searching for \"%s\" in \"%s\""), (char *)name, (char *)p_rtp); + verbose_leave(); + } /* Loop over all entries in 'runtimepath'. */ rtp = rtp_copy; @@ -2490,7 +2494,11 @@ do_in_runtimepath(name, all, callback, cookie) "\t "); if (p_verbose > 2) + { + verbose_enter(); smsg((char_u *)_("Searching for \"%s\""), buf); + verbose_leave(); + } /* Expand wildcards, invoke the callback for each match. */ if (gen_expand_wildcards(1, &buf, &num_files, &files, @@ -2512,7 +2520,11 @@ do_in_runtimepath(name, all, callback, cookie) vim_free(buf); vim_free(rtp_copy); if (p_verbose > 0 && !did_one) + { + verbose_enter(); smsg((char_u *)_("not found in 'runtimepath': \"%s\""), name); + verbose_leave(); + } #ifdef AMIGA proc->pr_WindowPtr = save_winptr; @@ -2759,11 +2771,13 @@ do_source(fname, check_other, is_vimrc) { if (p_verbose > 0) { + verbose_enter(); if (sourcing_name == NULL) smsg((char_u *)_("could not source \"%s\""), fname); else smsg((char_u *)_("line %ld: could not source \"%s\""), sourcing_lnum, fname); + verbose_leave(); } goto theend; } @@ -2775,11 +2789,13 @@ do_source(fname, check_other, is_vimrc) */ if (p_verbose > 1) { + verbose_enter(); if (sourcing_name == NULL) smsg((char_u *)_("sourcing \"%s\""), fname); else smsg((char_u *)_("line %ld: sourcing \"%s\""), sourcing_lnum, fname); + verbose_leave(); } if (is_vimrc) vimrc_found(); @@ -2961,9 +2977,11 @@ do_source(fname, check_other, is_vimrc) sourcing_lnum = save_sourcing_lnum; if (p_verbose > 1) { + verbose_enter(); smsg((char_u *)_("finished sourcing %s"), fname); if (sourcing_name != NULL) smsg((char_u *)_("continuing in %s"), sourcing_name); + verbose_leave(); } #ifdef STARTUPTIME vim_snprintf(IObuff, IOSIZE, "sourcing %s", fname); |