comparison src/evalfunc.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 7fe328ad5573
children 94007c802045
comparison
equal deleted inserted replaced
17094:8ca56a5c3141 17095:10e0d7d96cb0
1941 * buffer, these don't use the full path. */ 1941 * buffer, these don't use the full path. */
1942 FOR_ALL_BUFFERS(buf) 1942 FOR_ALL_BUFFERS(buf)
1943 if (buf->b_fname != NULL 1943 if (buf->b_fname != NULL
1944 && (path_with_url(buf->b_fname) 1944 && (path_with_url(buf->b_fname)
1945 #ifdef FEAT_QUICKFIX 1945 #ifdef FEAT_QUICKFIX
1946 || bt_nofile(buf) 1946 || bt_nofilename(buf)
1947 #endif 1947 #endif
1948 ) 1948 )
1949 && STRCMP(buf->b_fname, avar->vval.v_string) == 0) 1949 && STRCMP(buf->b_fname, avar->vval.v_string) == 0)
1950 break; 1950 break;
1951 } 1951 }