annotate lisp/eieio/eieio-datadebug.el @ 104404:7602fd69cd93

eieio-doc.el (eieiodoc--class-indexstring, defvar eieiodoc--class-root): New vars. (eieiodoc-class, eieiodoc-one-node) Use them to silence compiler. (eieiodoc-one-node): Use `class' instead of `rclass'. This avoids a compiler warning for free use of `rclass', which IIUC is always equal to `class'.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 22 Aug 2009 14:37:23 +0000
parents 2efe3dc24373
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
104401
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1 ;;; eieio-datadebug.el --- EIEIO extensions to the data debugger.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3 ;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
4
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
5 ;; Author: Eric M. Ludlam <zappo@gnu.org>
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
6 ;; Keywords: OO, lisp
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
7
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
9
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
12 ;; the Free Software Foundation, either version 3 of the License, or
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
13 ;; (at your option) any later version.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
14
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
18 ;; GNU General Public License for more details.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
19
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
22
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
23 ;;; Commentary:
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
24 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
25 ;; Extensions to data-debug for EIEIO objects.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
26 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
27
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
28 (require 'eieio)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
29 (require 'data-debug)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
30
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
31 ;;; Code:
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
32
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
33 (defun data-debug-insert-object-slots (object prefix)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
34 "Insert all the slots of OBJECT.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
35 PREFIX specifies what to insert at the start of each line."
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
36 (let ((attrprefix (concat (make-string (length prefix) ? ) "] "))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
37 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
38 (data-debug/eieio-insert-slots object attrprefix)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
39 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
40 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
41
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
42 (defun data-debug-insert-object-slots-from-point (point)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
43 "Insert the object slots found at the object button at POINT."
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
44 (let ((object (get-text-property point 'ddebug))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
45 (indent (get-text-property point 'ddebug-indent))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
46 start
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
47 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
48 (end-of-line)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
49 (setq start (point))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
50 (forward-char 1)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
51 (data-debug-insert-object-slots object
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
52 (concat (make-string indent ? )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
53 "~ "))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
54 (goto-char start)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
55 ))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
56
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
57 (defun data-debug-insert-object-button (object prefix prebuttontext)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
58 "Insert a button representing OBJECT.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
59 PREFIX is the text that preceeds the button.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
60 PREBUTTONTEXT is some text between PREFIX and the object button."
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
61 (let ((start (point))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
62 (end nil)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
63 (str (object-print object))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
64 (tip (format "Object %s\nClass: %S\nParent(s): %S\n%d slots"
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
65 (object-name-string object)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
66 (object-class object)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
67 (class-parents (object-class object))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
68 (length (object-slots object))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
69 ))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
70 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
71 (insert prefix prebuttontext str)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
72 (setq end (point))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
73 (put-text-property (- end (length str)) end 'face 'font-lock-keyword-face)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
74 (put-text-property start end 'ddebug object)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
75 (put-text-property start end 'ddebug-indent(length prefix))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
76 (put-text-property start end 'ddebug-prefix prefix)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
77 (put-text-property start end 'help-echo tip)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
78 (put-text-property start end 'ddebug-function
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
79 'data-debug-insert-object-slots-from-point)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
80 (insert "\n")
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
81 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
82 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
83
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
84 ;;; METHODS
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
85 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
86 ;; Each object should have an opportunity to show stuff about itself.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
87
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
88 (defmethod data-debug/eieio-insert-slots ((obj eieio-default-superclass)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
89 prefix)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
90 "Insert the slots of OBJ into the current DDEBUG buffer."
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
91 (data-debug-insert-thing (object-name-string obj)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
92 prefix
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
93 "Name: ")
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
94 (let* ((cl (object-class obj))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
95 (cv (class-v cl)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
96 (data-debug-insert-thing (class-constructor cl)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
97 prefix
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
98 "Class: ")
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
99 ;; Loop over all the public slots
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
100 (let ((publa (aref cv class-public-a))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
101 (publd (aref cv class-public-d))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
102 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
103 (while publa
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
104 (if (slot-boundp obj (car publa))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
105 (let ((i (class-slot-initarg cl (car publa)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
106 (v (eieio-oref obj (car publa))))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
107 (data-debug-insert-thing
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
108 v prefix (concat
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
109 (if i (symbol-name i)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
110 (symbol-name (car publa)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
111 " ")))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
112 ;; Unbound case
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
113 (let ((i (class-slot-initarg cl (car publa))))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
114 (data-debug-insert-custom
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
115 "#unbound" prefix
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
116 (concat (if i (symbol-name i)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
117 (symbol-name (car publa)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
118 " ")
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
119 'font-lock-keyword-face))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
120 )
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
121 (setq publa (cdr publa) publd (cdr publd)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
122 )))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
123
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
124 ;;; DEBUG METHODS
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
125 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
126 ;; A generic function to run DDEBUG on an object and popup a new buffer.
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
127 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
128 (defmethod data-debug-show ((obj eieio-default-superclass))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
129 "Run ddebug against any EIEIO object OBJ"
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
130 (data-debug-new-buffer (format "*%s DDEBUG*" (object-name obj)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
131 (data-debug-insert-object-slots obj "]"))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
132
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
133 ;;; DEBUG FUNCTIONS
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
134 ;;
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
135 (defun eieio-debug-methodinvoke (method class)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
136 "Show the method invocation order for METHOD with CLASS object."
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
137 (interactive "aMethod: \nXClass Expression: ")
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
138 (let* ((eieio-pre-method-execution-hooks
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
139 (lambda (l) (throw 'moose l) ))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
140 (data
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
141 (catch 'moose (eieio-generic-call
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
142 method (list class))))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
143 (buf (data-debug-new-buffer "*Method Invocation*"))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
144 (data2 (mapcar (lambda (sym)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
145 (symbol-function (car sym)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
146 data)))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
147 (data-debug-insert-thing data2 ">" "")))
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
148
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
149 (provide 'eieio-datadebug)
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
150
2efe3dc24373 Add files for the EIEIO library.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
151 ;;; eieio-datadebug.el ends here