allow buffer-specific is_word_char definition