Variable: treemacs-select-hook

treemacs-select-hook is an alias and customizable for treemacs-select-functions, defined in treemacs-customization.el.

This variable is obsolete since 2.9; use treemacs-select-functions instead.

Value

nil

Documentation

Hooks to run when the treemacs window is selected.

The hook should accept one argument which is a symbol describing treemacs' visibility before the select was invoked, as it would have been returned by treemacs-current-visibility.

This hook only applies to commands like treemacs or treemacs-select-window, not general window selection commands like other-window.

Aliases

treemacs-select-hook (obsolete since 2.9)