Use a separate define for each default format template and strip clutter

from the choose-tree defaults.
This commit is contained in:
Nicholas Marriott
2012-08-14 08:51:53 +00:00
parent 6804d5841e
commit 73c6785538
13 changed files with 66 additions and 30 deletions

View File

@ -51,7 +51,7 @@ cmd_list_buffers_exec(unused struct cmd *self, struct cmd_ctx *ctx)
const char *template;
if ((template = args_get(args, 'F')) == NULL)
template = DEFAULT_BUFFER_LIST_TEMPLATE;
template = LIST_BUFFERS_TEMPLATE;
idx = 0;
while ((pb = paste_walk_stack(&global_buffers, &idx)) != NULL) {