Mercurial > vim
comparison src/ex_cmds.c @ 17095:10e0d7d96cb0 v8.1.1547
patch 8.1.1547: functionality of bt_nofile() is confusing
commit https://github.com/vim/vim/commit/26910de8b0da6abab87bd5a397330f9cbe483309
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 15 19:37:15 2019 +0200
patch 8.1.1547: functionality of bt_nofile() is confusing
Problem: Functionality of bt_nofile() is confusing.
Solution: Split into bt_nofile() and bt_nofilename().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Jun 2019 19:45:06 +0200 |
parents | ce04ebdf26b8 |
children | 40c4cb095d53 |
comparison
equal
deleted
inserted
replaced
17094:8ca56a5c3141 | 17095:10e0d7d96cb0 |
---|---|
3397 || ((buf->b_flags & BF_NEW) | 3397 || ((buf->b_flags & BF_NEW) |
3398 && vim_strchr(p_cpo, CPO_OVERNEW) == NULL) | 3398 && vim_strchr(p_cpo, CPO_OVERNEW) == NULL) |
3399 || (buf->b_flags & BF_READERR)) | 3399 || (buf->b_flags & BF_READERR)) |
3400 && !p_wa | 3400 && !p_wa |
3401 #ifdef FEAT_QUICKFIX | 3401 #ifdef FEAT_QUICKFIX |
3402 && !bt_nofile(buf) | 3402 && !bt_nofilename(buf) |
3403 #endif | 3403 #endif |
3404 && vim_fexists(ffname)) | 3404 && vim_fexists(ffname)) |
3405 { | 3405 { |
3406 if (!eap->forceit && !eap->append) | 3406 if (!eap->forceit && !eap->append) |
3407 { | 3407 { |