Commits

Anonymous committed 370c925

2001-07-16 Charles G Waldman <cgw@xemacs.org>

* edebug.el (edebug-form-data): Correct initialization order.
Define variable before making it buffer-local.

Comments (0)

Files changed (2)

+2001-07-16  Charles G Waldman	<cgw@xemacs.org>
+
+        * edebug.el (edebug-form-data):  Correct initialization order.
+	Define variable before making it buffer-local.
+
 2000-11-10  Yoshiki Hayashi  <yoshiki@xemacs.org>
 
 	* edebug.el (function-form): Add function*.
   (defalias 'read (symbol-function 'edebug-original-read))
   (defalias 'eval-defun (symbol-function 'edebug-original-eval-defun)))
 
-
 ;;; Edebug internal data
 
 ;; The internal data that is needed for edebugging is kept in the
 ;; buffer-local variable `edebug-form-data'. 
-
-(make-variable-buffer-local 'edebug-form-data)
-
 (defconst edebug-form-data nil)
 ;; A list of entries associating symbols with buffer regions.
 ;; This is an automatic buffer local variable.  Each entry looks like:
 ;; In the future, the symbol will be irrelevant and edebug data will
 ;; be stored in the definitions themselves rather than in the property
 ;; list of a symbol.
+(make-variable-buffer-local 'edebug-form-data)
 
 (defun edebug-make-form-data-entry (symbol begin end)
   (list symbol begin end))