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

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

Signature

(treemacs--get-local-face-background--inliner INLINE--FORM FACE)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
;; Closure converted to defun by helpful.
(defun treemacs--get-local-face-background--inliner
    (inline--form face)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp face)
	 (face
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "face")))
	 (body
	  (list '--if-let
		(list 'car
		      (list 'alist-get face 'face-remapping-alist))
		(list 'plist-get 'it :background)
		(list 'face-attribute face :background nil t))))
      (if
	  (eq face exp)
	  body
	(macroexp-let*
	 (list
	  (list face exp))
	 body)))))