Function: treemacs--get-local-face-background

treemacs--get-local-face-background is a byte-compiled function defined in treemacs-icons.el.

Signature

(treemacs--get-local-face-background FACE)

Documentation

Get the :background of the given face.

Unlike face-attribute this will take the faces-remapping-alist into account.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
(define-inline treemacs--get-local-face-background (face)
  "Get the `:background' of the given face.
Unlike `face-attribute' this will take the `faces-remapping-alist' into
account."
  (declare (side-effect-free t))
  (inline-letevals (face)
    (inline-quote
     (--if-let (car (alist-get ,face face-remapping-alist))
         (plist-get it :background)
       (face-attribute ,face :background nil t)))))