Function: treemacs--remove-annotation-if-empty
treemacs--remove-annotation-if-empty is a byte-compiled function
defined in treemacs-annotations.el.
Signature
(treemacs--remove-annotation-if-empty ANN PATH)
Documentation
Remove annotation ANN for PATH from the store if it is empty.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-annotations.el
(define-inline treemacs--remove-annotation-if-empty (ann path)
"Remove annotation ANN for PATH from the store if it is empty."
(inline-letevals (ann path)
(inline-quote
(when (and (null (treemacs-annotation->face ,ann))
(null (treemacs-annotation->git-face ,ann))
(null (treemacs-annotation->suffix ,ann)))
(ht-remove! treemacs--annotation-store ,path)))))