Searched refs:BUFEMPTY (Results 1 – 14 of 14) sorted by relevance
55 #define BUFEMPTY() (curbuf->b_ml.ml_line_count == 1 && *ml_get((linenr_T)1) == NUL) macro
8512 if (BUFEMPTY() in maybe_intro_message()
1081 if (keep_tabs && BUFEMPTY() && curbuf->b_nwindows == 1 in do_arg_all()
843 while (!BUFEMPTY()) in pum_set_selected()
126 if (!readonlymode && !BUFEMPTY()) in read_buffer()1945 && (curbuf->b_ml.ml_mfp == NULL || BUFEMPTY()) in curbuf_reusable()2431 && !BUFEMPTY()) in buflist_getfile()
1407 if (BUFEMPTY()) in ex_perldo()
4369 if (BUFEMPTY() || saved == FAIL) in buf_reload()4410 while (!BUFEMPTY()) in buf_reload()
222 if (BUFEMPTY()) // special case - file is empty in update_topline()
1738 if ((BUFEMPTY() ? u_save(0, 2) : u_save(lnum - 1, lnum)) == FAIL) in do_put()
2798 buf_empty = BUFEMPTY(); in ex_diffgetput()
2867 if ((old_flags & UH_EMPTYBUF) && BUFEMPTY()) in u_undoredo()
3980 if ( BUFEMPTY() in ins_bs()
3843 if (!BUFEMPTY()) in ex_spelldump()
1095 if (BUFEMPTY()) in set_init_3()