Mercurial > vim
comparison src/misc1.c @ 135:b5fc81a825a1
updated for version 7.0044
author | vimboss |
---|---|
date | Tue, 25 Jan 2005 22:18:08 +0000 |
parents | 2201ea50555e |
children | 8b0ee9d57d7f |
comparison
equal
deleted
inserted
replaced
134:9322cb10d72e | 135:b5fc81a825a1 |
---|---|
3090 long n; | 3090 long n; |
3091 { | 3091 { |
3092 long pn; | 3092 long pn; |
3093 | 3093 |
3094 if (global_busy /* no messages now, wait until global is finished */ | 3094 if (global_busy /* no messages now, wait until global is finished */ |
3095 || keep_msg != NULL /* there is a message already, skip this one */ | |
3096 || !messaging()) /* 'lazyredraw' set, don't do messages now */ | 3095 || !messaging()) /* 'lazyredraw' set, don't do messages now */ |
3096 return; | |
3097 | |
3098 /* We don't want to overwrite another important message, but do overwrite | |
3099 * a previous "more lines" or "fewer lines" message, so that "5dd" and | |
3100 * then "put" reports the last action. */ | |
3101 if (keep_msg != NULL && !keep_msg_more) | |
3097 return; | 3102 return; |
3098 | 3103 |
3099 if (n > 0) | 3104 if (n > 0) |
3100 pn = n; | 3105 pn = n; |
3101 else | 3106 else |
3121 STRCAT(msg_buf, _(" (Interrupted)")); | 3126 STRCAT(msg_buf, _(" (Interrupted)")); |
3122 if (msg(msg_buf)) | 3127 if (msg(msg_buf)) |
3123 { | 3128 { |
3124 set_keep_msg(msg_buf); | 3129 set_keep_msg(msg_buf); |
3125 keep_msg_attr = 0; | 3130 keep_msg_attr = 0; |
3131 keep_msg_more = TRUE; | |
3126 } | 3132 } |
3127 } | 3133 } |
3128 } | 3134 } |
3129 | 3135 |
3130 /* | 3136 /* |