lastFlushDate not set on input begin otherwise some error message were never displayed

git-svn-id: http://macvim.googlecode.com/svn/trunk@279 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-09-24 15:37:37 +00:00
parent 665e95bfb0
commit b83b8df6f1
+4 -2
View File
@@ -19,7 +19,6 @@
static float MMFlushTimeoutInterval = 0.1f;
static unsigned MMServerMax = 1000;
//static NSTimeInterval MMEvaluateExpressionTimeout = 3;
// NOTE: The default font is bundled with the application.
static NSString *MMDefaultFontName = @"DejaVu Sans Mono";
@@ -1838,8 +1837,11 @@ enum {
- (void)processInputBegin
{
inProcessInput = YES;
// Reset last flush date otherwise timed error message from e.g.
// ':set tenc=latin1' are never displayed.
[lastFlushDate release];
lastFlushDate = [[NSDate date] retain];
lastFlushDate = nil;
}
- (void)processInputEnd