Function: treemacs--show-fringe-indicator-only-when-focused
treemacs--show-fringe-indicator-only-when-focused is a byte-compiled
function defined in treemacs-fringe-indicator.el.
Signature
(treemacs--show-fringe-indicator-only-when-focused WINDOW)
Documentation
Hook to ensure the fringe indicator not shown when treemacs is not selected.
WINDOW is the treemacs window that has just been focused or unfocused.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-fringe-indicator.el
(defun treemacs--show-fringe-indicator-only-when-focused (window)
"Hook to ensure the fringe indicator not shown when treemacs is not selected.
WINDOW is the treemacs window that has just been focused or unfocused."
(if (eq treemacs--in-this-buffer t)
(when treemacs--fringe-indicator-overlay
(overlay-put
treemacs--fringe-indicator-overlay 'before-string
treemacs--fringe-overlay-before-string))
(with-selected-window window
(when treemacs--fringe-indicator-overlay
(overlay-put
treemacs--fringe-indicator-overlay
'before-string nil)))))