From c7394ac4e0f7e6e034fbb4b050de6f713bb9f6e0 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 23 Aug 2009 17:29:51 +0000 Subject: When using source-file, run the commands in the context of the source-file command rather than with no context. This makes things like attach work from a file. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 4cc659d6..a2d01ea0 100644 --- a/tmux.h +++ b/tmux.h @@ -1109,7 +1109,7 @@ void sigreset(void); void sighandler(int); /* cfg.c */ -int load_cfg(const char *, char **x); +int load_cfg(const char *, struct cmd_ctx *, char **); /* mode-key.c */ extern const struct mode_key_table mode_key_tables[]; -- cgit