- Rework load_cfg() error handling a little.

- Add -q to source-file to suppress errors about nonexistent files.

Input and OK nicm@
This commit is contained in:
tim
2016-05-12 16:05:33 +00:00
parent 9715c61de0
commit fdd368a294
4 changed files with 28 additions and 28 deletions

2
tmux.h
View File

@ -1555,7 +1555,7 @@ extern int cfg_finished;
extern int cfg_references;
extern struct client *cfg_client;
void start_cfg(void);
int load_cfg(const char *, struct cmd_q *, char **);
int load_cfg(const char *, struct cmd_q *, int);
void set_cfg_file(const char *);
void printflike(1, 2) cfg_add_cause(const char *, ...);
void cfg_print_causes(struct cmd_q *);