Wrap all the individual format_* calls in a single format_defaults

functions.
This commit is contained in:
nicm
2015-02-05 10:29:43 +00:00
parent e5d9ceff18
commit 4946f74253
23 changed files with 78 additions and 109 deletions

View File

@@ -55,7 +55,7 @@ cmd_list_buffers_exec(unused struct cmd *self, struct cmd_q *cmdq)
pb = NULL;
while ((pb = paste_walk(pb)) != NULL) {
ft = format_create();
format_paste_buffer(ft, pb, 0);
format_defaults_paste_buffer(ft, pb, 0);
line = format_expand(ft, template);
cmdq_print(cmdq, "%s", line);