# libtmux:unset-option

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/configuration-operations.lisp#L189
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-unset-option/

```
(unset-option client name &key scope target (key nil key-p) cancel-token timeout output-limit)
```

Remove one local option or array entry and return its COMMAND-OUTCOME.
SCOPE/TARGET and KEY follow SET-OPTION. The exact live catalog validates the
name, table and array shape before payload dispatch. Tmux's native unset/default
behavior applies; inherited state is not silently materialized. See SET-OPTION
for setting and scope rules. Never retries.

See also: `libtmux:set-option`.

## Parameters

- `client`
- `name`
- `scope?`
- `target?`
- `key?`
- `cancel-token?`
- `timeout?`
- `output-limit?`

## tmux command

The tmux commands behind `unset-option`.

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

## tmux C API

The C declarations in tmux that implement these commands.

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

## Guides

Pages that discuss `unset-option`.

- [Explicit operations](/en/lisp/latest/guides/operations/)
