vim-patch:8.0.1202: :wall gives an errof for a terminal window

Problem:    :wall gives an errof for a terminal window. (Marius Gedminas)
Solution:   Don't try writing a buffer that can't be written. (Yasuhiro
            Matsumoto, closes vim/vim#2190)
059db5c29f
This commit is contained in:
Jan Edmund Lazo 2019-06-28 22:20:56 -04:00
parent c696fcdcaa
commit 805d6e450a

View File

@ -1939,7 +1939,7 @@ void do_wqall(exarg_T *eap)
}
FOR_ALL_BUFFERS(buf) {
if (!bufIsChanged(buf)) {
if (!bufIsChanged(buf) || bt_dontwrite(buf)) {
continue;
}
/*