Fix ordering of source-file with multiple files and add flags to load_cfg.

This commit is contained in:
nicm
2019-05-20 13:23:32 +00:00
parent e128c7fcd8
commit 87d82170a6
3 changed files with 27 additions and 16 deletions

4
tmux.h
View File

@ -1671,8 +1671,10 @@ void proc_toggle_log(struct tmuxproc *);
/* cfg.c */
extern int cfg_finished;
extern struct client *cfg_client;
#define CFG_QUIET 0x1
void start_cfg(void);
int load_cfg(const char *, struct client *, struct cmdq_item *, int);
int load_cfg(const char *, struct client *, struct cmdq_item *, int,
struct cmdq_item **);
void set_cfg_file(const char *);
void printflike(1, 2) cfg_add_cause(const char *, ...);
void cfg_print_causes(struct cmdq_item *);