Mercurial > vim
comparison src/fileio.c @ 292:bf6ee000a80c
updated for version 7.0077
author | vimboss |
---|---|
date | Tue, 31 May 2005 22:09:46 +0000 |
parents | 2463194c8cdd |
children | 9a1c2a8186b7 |
comparison
equal
deleted
inserted
replaced
291:0ad8528b8c05 | 292:bf6ee000a80c |
---|---|
6961 for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next) | 6961 for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next) |
6962 if (ap->buflocal_nr == buf->b_fnum) | 6962 if (ap->buflocal_nr == buf->b_fnum) |
6963 { | 6963 { |
6964 au_remove_pat(ap); | 6964 au_remove_pat(ap); |
6965 if (p_verbose >= 6) | 6965 if (p_verbose >= 6) |
6966 { | |
6967 verbose_enter(); | |
6966 smsg((char_u *) | 6968 smsg((char_u *) |
6967 _("auto-removing autocommand: %s <buffer=%d>"), | 6969 _("auto-removing autocommand: %s <buffer=%d>"), |
6968 event_nr2name(event), buf->b_fnum); | 6970 event_nr2name(event), buf->b_fnum); |
6971 verbose_leave(); | |
6972 } | |
6969 } | 6973 } |
6970 au_cleanup(); | 6974 au_cleanup(); |
6971 } | 6975 } |
6972 | 6976 |
6973 /* | 6977 /* |
8340 if (sourcing_name != NULL) | 8344 if (sourcing_name != NULL) |
8341 { | 8345 { |
8342 sprintf((char *)sourcing_name, s, | 8346 sprintf((char *)sourcing_name, s, |
8343 (char *)name, (char *)ap->pat); | 8347 (char *)name, (char *)ap->pat); |
8344 if (p_verbose >= 8) | 8348 if (p_verbose >= 8) |
8349 { | |
8350 verbose_enter(); | |
8345 smsg((char_u *)_("Executing %s"), sourcing_name); | 8351 smsg((char_u *)_("Executing %s"), sourcing_name); |
8352 verbose_leave(); | |
8353 } | |
8346 } | 8354 } |
8347 | 8355 |
8348 apc->curpat = ap; | 8356 apc->curpat = ap; |
8349 apc->nextcmd = ap->cmds; | 8357 apc->nextcmd = ap->cmds; |
8350 /* mark last command */ | 8358 /* mark last command */ |
8407 | 8415 |
8408 ac = acp->nextcmd; | 8416 ac = acp->nextcmd; |
8409 | 8417 |
8410 if (p_verbose >= 9) | 8418 if (p_verbose >= 9) |
8411 { | 8419 { |
8412 msg_scroll = TRUE; /* always scroll up, don't overwrite */ | 8420 verbose_enter_scroll(); |
8413 smsg((char_u *)_("autocommand %s"), ac->cmd); | 8421 smsg((char_u *)_("autocommand %s"), ac->cmd); |
8414 msg_puts((char_u *)"\n"); /* don't overwrite this either */ | 8422 msg_puts((char_u *)"\n"); /* don't overwrite this either */ |
8415 cmdline_row = msg_row; | 8423 verbose_leave_scroll(); |
8416 } | 8424 } |
8417 retval = vim_strsave(ac->cmd); | 8425 retval = vim_strsave(ac->cmd); |
8418 autocmd_nested = ac->nested; | 8426 autocmd_nested = ac->nested; |
8419 #ifdef FEAT_EVAL | 8427 #ifdef FEAT_EVAL |
8420 current_SID = ac->scriptID; | 8428 current_SID = ac->scriptID; |