Function: helpful--can-edebug-p

helpful--can-edebug-p is a byte-compiled function defined in helpful.el.

Signature

(helpful--can-edebug-p SYM CALLABLE-P BUF POS)

Documentation

Can we use edebug with SYM?

Source Code

;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--can-edebug-p (sym callable-p buf pos)
  "Can we use edebug with SYM?"
  (and
   ;; SYM must be a function.
   callable-p
   ;; The function cannot be a primitive, it must be defined in elisp.
   (not (helpful--primitive-p sym callable-p))
   ;; We need to be able to find its definition, or we can't step
   ;; through the source.
   buf pos))