Function: treemacs--process-file-events
treemacs--process-file-events is a byte-compiled function defined in
treemacs-filewatch-mode.el.
Signature
(treemacs--process-file-events)
Documentation
Process the file events that have been collected.
Stop watching deleted dirs and refresh all the buffers that need updating.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-filewatch-mode.el
(defun treemacs--process-file-events ()
"Process the file events that have been collected.
Stop watching deleted dirs and refresh all the buffers that need updating."
(setf treemacs--refresh-timer nil)
(treemacs-without-following
(if (eq treemacs--in-this-buffer t)
(treemacs--do-process-file-events)
;; need to save excursion here because an update when the treemacs window is not visible
;; will actually move point in the current buffer
;; TODO(2019/07/18): check if this is still necessary after granular filewatch is done
(save-excursion
(treemacs--do-process-file-events)))))