Mercurial > vim
comparison src/fileio.c @ 8:7edf9b6e4c36
Various changes
author | vimboss |
---|---|
date | Wed, 16 Jun 2004 11:19:22 +0000 |
parents | 3fc0f57ecb91 |
children | 4102fb4ea781 |
comparison
equal
deleted
inserted
replaced
7:3fc0f57ecb91 | 8:7edf9b6e4c36 |
---|---|
6058 EMSG(tbuf); | 6058 EMSG(tbuf); |
6059 retval = 2; | 6059 retval = 2; |
6060 } | 6060 } |
6061 else | 6061 else |
6062 { | 6062 { |
6063 # ifdef VIMBUDDY | 6063 # ifdef FEAT_AUTOCMD |
6064 VimBuddyText(tbuf + 9, 2); | |
6065 # else | |
6066 # ifdef FEAT_AUTOCMD | |
6067 if (!autocmd_busy) | 6064 if (!autocmd_busy) |
6068 # endif | 6065 # endif |
6069 { | 6066 { |
6070 msg_start(); | 6067 msg_start(); |
6071 msg_puts_attr(tbuf, hl_attr(HLF_E) + MSG_HIST); | 6068 msg_puts_attr(tbuf, hl_attr(HLF_E) + MSG_HIST); |
6072 if (*mesg2 != NUL) | 6069 if (*mesg2 != NUL) |
6073 msg_puts_attr((char_u *)mesg2, | 6070 msg_puts_attr((char_u *)mesg2, |
6075 msg_clr_eos(); | 6072 msg_clr_eos(); |
6076 (void)msg_end(); | 6073 (void)msg_end(); |
6077 if (emsg_silent == 0) | 6074 if (emsg_silent == 0) |
6078 { | 6075 { |
6079 out_flush(); | 6076 out_flush(); |
6080 # ifdef FEAT_GUI | 6077 # ifdef FEAT_GUI |
6081 if (!focus) | 6078 if (!focus) |
6082 # endif | 6079 # endif |
6083 /* give the user some time to think about it */ | 6080 /* give the user some time to think about it */ |
6084 ui_delay(1000L, TRUE); | 6081 ui_delay(1000L, TRUE); |
6085 | 6082 |
6086 /* don't redraw and erase the message */ | 6083 /* don't redraw and erase the message */ |
6087 redraw_cmdline = FALSE; | 6084 redraw_cmdline = FALSE; |
6088 } | 6085 } |
6089 } | 6086 } |
6090 already_warned = TRUE; | 6087 already_warned = TRUE; |
6091 # endif | |
6092 } | 6088 } |
6093 | 6089 |
6094 vim_free(path); | 6090 vim_free(path); |
6095 vim_free(tbuf); | 6091 vim_free(tbuf); |
6096 } | 6092 } |