Variable: treemacs-delete-file-functions
treemacs-delete-file-functions is a customizable variable defined in
treemacs-customization.el.
Value
(recentf-remove-if-non-kept)
Documentation
Hooks to run whenever a file or directory is deleted.
Applies only when using treemacs-delete. Will be called with the created
file's or dir's path as the sole argument.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-delete-file-functions nil
"Hooks to run whenever a file or directory is deleted.
Applies only when using `treemacs-delete'. Will be called with the created
file's or dir's path as the sole argument."
:type 'hook
:group 'treemacs-hooks)