Function: dape--breakpoint-maybe-remove-ff-hook

dape--breakpoint-maybe-remove-ff-hook is a natively compiled function defined in dape.el.

Signature

(dape--breakpoint-maybe-remove-ff-hook)

Documentation

Remove the find-file-hook if all source breakpoints have buffers.

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--breakpoint-maybe-remove-ff-hook ()
  "Remove the `find-file-hook' if all source breakpoints have buffers."
  (cl-loop for breakpoint in dape--breakpoints
           when (dape--source-breakpoint-p breakpoint)
           always (bufferp (dape--breakpoint-source breakpoint))
           finally (remove-hook 'find-file-hook
                                #'dape--breakpoint-find-file-hook)))