Function: jinx--mode-list

jinx--mode-list is a natively compiled function defined in jinx.el.

Signature

(jinx--mode-list LIST)

Documentation

Lookup by mode (major or minor) in LIST.

Source Code

;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--mode-list (list)
  "Lookup by mode (major or minor) in LIST."
  (cl-loop for (mode . vals) in list
           if (or (and (boundp mode) (symbol-value mode)) (derived-mode-p mode))
           append (if (symbolp vals) (alist-get vals list) vals)))