# cfg_done

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L48
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cfg-c-cfg_done/

```c
static enum cmd_retval cfg_done(struct cmdq_item *item, void *data)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `data` (`void *`)

## Calls

- [`cfg_show_causes`](/en/tmux/latest/reference/c-function-cfg_show_causes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L54)
- [`cmdq_continue`](/en/tmux/latest/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L57)
- [`status_prompt_load_history`](/en/tmux/latest/reference/c-function-status_prompt_load_history/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L59)

## Referenced by

- [`start_cfg`](/en/tmux/latest/reference/c-function-start_cfg/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`cfg_finished`](/en/tmux/latest/reference/c-variable-cfg_finished/) (attribute)
- [`cfg_item`](/en/tmux/latest/reference/c-variable-cfg-c-cfg_item/) (attribute)
- [`CMD_RETURN_NORMAL`](/en/tmux/latest/reference/c-enum-cmd_retval-cmd_return_normal/) (constant)
- [`cmd_retval`](/en/tmux/latest/reference/c-enum-cmd_retval/) (enum)
- [`cmdq_item`](/en/tmux/latest/reference/c-struct-cmdq_item/) (struct)
