Function: edebug-get-edebug-or-ghost

edebug-get-edebug-or-ghost is a byte-compiled function defined in edebug.el.gz.

Signature

(edebug-get-edebug-or-ghost NAME)

Documentation

Get NAME's value of property edebug or property ghost-edebug.

The idea is that should function NAME be recompiled whilst debugging is in progress, property edebug will get set to a marker. The needed data will then come from property ghost-edebug.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
;;; Offsets for reader

(defun edebug-get-edebug-or-ghost (name)
  "Get NAME's value of property `edebug' or property `ghost-edebug'.

The idea is that should function NAME be recompiled whilst
debugging is in progress, property `edebug' will get set to a
marker.  The needed data will then come from property
`ghost-edebug'."
  (let ((e (get name 'edebug)))
    (if (consp e)
        e
      (let ((g (get name 'ghost-edebug)))
        (if (consp g)
            g
          e)))))