Function: logview--get-split-alists

logview--get-split-alists is a natively compiled function defined in logview.el.

Signature

(logview--get-split-alists KEY TYPE &rest ALISTS)

Source Code

;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview--get-split-alists (key type &rest alists)
  ;; If nothing is found: if TYPE is nil, just return nil, else signal
  ;; a user error with TYPE as missing thing description.
  (catch 'found
    (apply #'logview--iterate-split-alists (lambda (name value)
                                             (when (or (equal name key) (member key (cdr (assq 'aliases value))))
                                               (throw 'found value)))
           alists)
    (when type
      (user-error "Unknown %s '%s'" type key))))