Function: treemacs--select-not-visible-window

treemacs--select-not-visible-window is a byte-compiled function defined in treemacs-core-utils.el.

Signature

(treemacs--select-not-visible-window)

Documentation

Switch to treemacs buffer, given that it not visible.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(define-inline treemacs--select-not-visible-window ()
  "Switch to treemacs buffer, given that it not visible."
  (inline-quote
   (let ((buffer (current-buffer)))
     (treemacs--setup-buffer)
     (when (or treemacs-follow-after-init
               (with-no-warnings treemacs-follow-mode))
       (with-current-buffer buffer (treemacs--follow)))
     (run-hook-with-args 'treemacs-select-functions 'exists))))