Function: treemacs-refresh

treemacs-refresh is an interactive and byte-compiled function defined in treemacs-interface.el.

Signature

(treemacs-refresh)

Documentation

Refresh the project at point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-refresh ()
  "Refresh the project at point."
  (interactive)
  (treemacs-unless-let (btn (treemacs-current-button))
      (treemacs-log-failure "There is nothing to refresh.")
    (-let [project (treemacs-project-of-node btn)]
      (treemacs-without-recenter
       (treemacs--do-refresh (current-buffer) project))
      (run-hook-with-args 'treemacs-post-project-refresh-functions project))))