Function: consult--customize-args

consult--customize-args is a byte-compiled function defined in consult.el.

Signature

(consult--customize-args OPTIONS &rest DEFAULTS)

Documentation

Get configuration from consult--customize-alist for the current command.

OPTIONS is the option plist, and DEFAULTS are default options which are overridden by OPTIONS.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--customize-args (options &rest defaults)
  "Get configuration from `consult--customize-alist' for the current command.
OPTIONS is the option plist, and DEFAULTS are default options which are
overridden by OPTIONS."
  (append
   (mapcar (lambda (x) (eval x 'lexical))
           (alist-get (or (plist-get options :command) this-command)
                      consult--customize-alist))
   (consult--plist-remove '(:command) options)
   defaults))