Hi,

The functions in quickfix.c check whether a buffer is a normal buffer
by directly accessing the b_p_bt field in 'buf'. It is better to add a
helper function for this. The attached patch adds a bt_normal() function
that checks for a normal buffer. We already have similar helper functions
to check for other buffer types: bt_quickfix(), bt_terminal(), bt_help(),
bt_prompt(), bt_nofile(), etc.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: bt_normal.diff
Description: Binary data

Raspunde prin e-mail lui