buf_hide(buf_T *buf)
{
    // 'bufhidden' overrules 'hidden' and ":hide", check it first
    switch (buf->b_p_bh[0])
    {
	case 'u':		    // "unload"
	case 'w':		    // "wipe"
	case 'd': return FALSE;	    // "delete"
	case 'h': return TRUE;	    // "hide"
    }
    return (p_hid || (cmdmod.cmod_flags & CMOD_HIDE));
}
buf_hide(buf_T *buf)
{
     
    switch (buf->b_p_bh[0])
    {
	case 'u':		     
	case 'w':		     
	case 'd': return FALSE;	     
	case 'h': return TRUE;	     
    }
    return (p_hid || (cmdmod.cmod_flags & CMOD_HIDE));
}