Function: sesman-relevant-link-p

sesman-relevant-link-p is a byte-compiled function defined in sesman.el.

Signature

(sesman-relevant-link-p LINK &optional CXT-TYPES)

Documentation

Return non-nil if LINK is relevant to the current context.

If CXT-TYPES is non-nil, only check relevance for those contexts.

Source Code

;; Defined in ~/.emacs.d/elpa/sesman-20240417.1723/sesman.el
(defun sesman-relevant-link-p (link &optional cxt-types)
  "Return non-nil if LINK is relevant to the current context.
If CXT-TYPES is non-nil, only check relevance for those contexts."
  (when (or (null cxt-types)
            (member (sesman--lnk-context-type link) cxt-types))
    (sesman-relevant-context-p
     (sesman--lnk-context-type link)
     (sesman--lnk-value link))))