Function: cider-stacktrace--face-for-filter
cider-stacktrace--face-for-filter is a byte-compiled function defined
in cider-stacktrace.el.
Signature
(cider-stacktrace--face-for-filter FILTER NEG-FILTERS POS-FILTERS)
Documentation
Return whether we should mark the FILTER is active or not.
NEG-FILTERS and POS-FILTERS are lists of filters to check FILTER's type.
NEG-FILTERS dictate which frames should be hidden while POS-FILTERS can override this and ensure that those frames are shown.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-stacktrace.el
(defun cider-stacktrace--face-for-filter (filter neg-filters pos-filters)
"Return whether we should mark the FILTER is active or not.
NEG-FILTERS and POS-FILTERS are lists of filters to check FILTER's type.
NEG-FILTERS dictate which frames should be hidden while POS-FILTERS can
override this and ensure that those frames are shown."
(cond ((member filter cider-stacktrace--all-negative-filters)
(if (member filter neg-filters)
'cider-stacktrace-filter-active-face
'cider-stacktrace-filter-inactive-face))
((member filter cider-stacktrace--all-positive-filters)
(if (member filter pos-filters)
'cider-stacktrace-filter-active-face
'cider-stacktrace-filter-inactive-face))))