Function: neocaml--register-with-dape
neocaml--register-with-dape is a natively compiled function defined in
neocaml.el.
Signature
(neocaml--register-with-dape)
Documentation
Register neocaml modes with dape's ocamlearlybird config if loaded.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
(defun neocaml--register-with-dape ()
"Register neocaml modes with dape's ocamlearlybird config if loaded."
(when (boundp 'dape-configs)
(when-let* ((cfg (alist-get 'ocamlearlybird dape-configs)))
(let ((modes (plist-get cfg 'modes)))
(unless (memq 'neocaml-mode modes)
(plist-put cfg 'modes
(append '(neocaml-mode neocaml-interface-mode)
modes)))))))