# libtmux.core/append-hook!

- **Module:** libtmux.core
- **Package:** io.github.libtmux:libtmux-clojure
- **Language:** Clojure
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-java/blob/5f88402151ff08fc0390dd438b90963692ec3fe4/libtmux-clojure/src/main/clojure/libtmux/core.clj#L469
- **Public owner:** libtmux.core
- **Page:** https://libtmux.org/en/clojure/latest/reference/libtmux-core-append-hook/

```
(append-hook! value event argv)
```

Appends one explicit tmux argv command to a hook.

[[hooks!]] returns the ordered command vectors.

## Parameters

- `value`
- `event`
- `argv`

## tmux command

The tmux commands behind `append-hook!`.

- [`set-hook`](/en/tmux/latest/manual/set-hook/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_set_hook_entry`](/en/tmux/latest/reference/c-variable-cmd_set_hook_entry/) (attribute)
- [`cmd_set_option_exec`](/en/tmux/latest/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function)
