Function: edebug-var-status

edebug-var-status is a byte-compiled function defined in edebug.el.gz.

Signature

(edebug-var-status VAR)

Documentation

Return a cons cell describing the status of VAR's current binding.

The purpose of this function is so you can properly undo subsequent changes to the same binding, by passing the status cons cell to edebug-restore-status. The status cons cell has the form (LOCUS . VALUE), where LOCUS can be a buffer
(for a buffer-local binding), or nil (if the default binding is current).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
(defun edebug-var-status (var)
  "Return a cons cell describing the status of VAR's current binding.
The purpose of this function is so you can properly undo
subsequent changes to the same binding, by passing the status
cons cell to `edebug-restore-status'.  The status cons cell
has the form (LOCUS . VALUE), where LOCUS can be a buffer
\(for a buffer-local binding), or nil (if the default binding is current)."
  (cons (variable-binding-locus var)
	(symbol-value var)))