Function: dape--config-eval

dape--config-eval is a natively compiled function defined in dape.el.

Signature

(dape--config-eval KEY OPTIONS &optional SKIP-FUNCTIONS)

Documentation

Evaluate config with KEY and OPTIONS.

See dape--config-eval-value for SKIP-FUNCTIONS.

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--config-eval (key options &optional skip-functions)
  "Evaluate config with KEY and OPTIONS.
See `dape--config-eval-value' for SKIP-FUNCTIONS."
  (let ((base-config (alist-get key dape-configs)))
    (unless base-config
      (user-error "Unable to find `%s' in `dape-configs', available \
configurations: %s"
                  key (mapconcat (lambda (e) (symbol-name (car e)))
                                 dape-configs ", ")))
    (dape--config-eval-1 (seq-reduce (apply-partially 'apply 'plist-put)
                                     (nreverse (seq-partition options 2))
                                     (copy-tree base-config))
                         skip-functions)))