Variable: treemacs-move-file-functions
treemacs-move-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 moved.
Applies only when using treemacs-move-file. Will be called with 2 arguments:
the file's old location, and the file's new location, both as absolute paths.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-move-file-functions nil
"Hooks to run whenever a file or directory is moved.
Applies only when using `treemacs-move-file'. Will be called with 2 arguments:
the file's old location, and the file's new location, both as absolute paths."
:type 'hook
:group 'treemacs-hooks)