Function: treemacs--invalidate-buffer-project-cache
treemacs--invalidate-buffer-project-cache is a byte-compiled function
defined in treemacs-workspaces.el.
Signature
(treemacs--invalidate-buffer-project-cache)
Documentation
Set all buffers' treemacs--project-of-buffer to nil.
To be called whenever a project or workspace changes.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
(define-inline treemacs--invalidate-buffer-project-cache ()
"Set all buffers' `treemacs--project-of-buffer' to nil.
To be called whenever a project or workspace changes."
(inline-quote
(dolist (buf (buffer-list))
(with-current-buffer buf
(setf treemacs--project-of-buffer nil)))))