Cmd-w shows confirmation dialog when buffer modified

This commit is contained in:
Bjorn Winckler
2008-05-09 13:27:03 +02:00
parent 19468d3117
commit 5d5176aabf
+1 -1
View File
@@ -1677,7 +1677,7 @@ static NSString *MMSymlinkWarningString =
add_to_input_buf((char_u*)"\x1c\xe", 2);
if (0 == cmdwin_type) {
// Command-line window was not open, so :q
add_to_input_buf((char_u*)":q\n", 3);
add_to_input_buf((char_u*)":conf q\n", 8);
}
}
} else {