Searched refs:BF_NEW (Results 1 – 8 of 8) sorted by relevance
737 #define BF_NEW 0x10 // file didn't exist when editing started macro746 #define BF_WRITE_MASK (BF_NOTEDITED + BF_NEW + BF_READERR)
921 buf->b_flags &= ~BF_NEW; in buf_write()2439 buf->b_flags &= ~BF_NEW; in buf_write()
445 curbuf->b_flags &= ~(BF_NEW | BF_NEW_W); in readfile()513 curbuf->b_flags |= BF_NEW; in readfile()4210 else if ((buf->b_flags & BF_NEW) && !(buf->b_flags & BF_NEW_W) in buf_check_timestamp()
943 && (buf->b_flags & BF_NEW) in file_ff_differs()
2111 || ((buf->b_flags & BF_NEW) in check_overwrite()
3699 (curbuf->b_flags & BF_NEW) in fileinfo()
6506 && !(curbuf->b_flags & BF_NEW)) in load_dummy_buffer()
6421 Solution: The BF_NEW flag in the "b_flags" field wasn't cleared properly.