Variable: treemacs-rename-file-functions

treemacs-rename-file-functions is a customizable variable defined in treemacs-customization.el.

Value

(treemacs--remove-from-recentf-after-move/rename)

Documentation

Hooks to run whenever a file or directory is renamed.

Applies only when using treemacs-rename. Will be called with 2 arguments: the file's old name, and the file's new name, both as absolute paths.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-rename-file-functions nil
  "Hooks to run whenever a file or directory is renamed.

Applies only when using `treemacs-rename'.  Will be called with 2 arguments: the
file's old name, and the file's new name, both as absolute paths."
  :type 'hook
  :group 'treemacs-hooks)