Function: htmlize-merge-faces

htmlize-merge-faces is a byte-compiled function defined in htmlize.el.

Signature

(htmlize-merge-faces FSTRUCT-LIST)

Source Code

;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defun htmlize-merge-faces (fstruct-list)
  (cond ((null fstruct-list)
         ;; Nothing to do, return a dummy face.
         (make-htmlize-fstruct))
        ((null (cdr fstruct-list))
         ;; Optimize for the common case of a single face, simply
         ;; return it.
         (car fstruct-list))
        (t
         (cl-reduce #'htmlize-merge-two-faces
                    (cons (make-htmlize-fstruct) fstruct-list)))))