diff options
author | Kenichi Handa <handa@gnu.org> | 2012-10-06 21:55:09 +0900 |
---|---|---|
committer | Kenichi Handa <handa@gnu.org> | 2012-10-06 21:55:09 +0900 |
commit | 16ddec7e9e6adcf615db097d9627d490ca29208c (patch) | |
tree | 1c16b9565c9cca81ec8f5b10f0f4110340d4654a /lisp/emacs-lisp/eieio-datadebug.el | |
parent | 2b89bca49d55cec1a004353354a76de2972c68f3 (diff) | |
parent | d5acb99a199d83cde1a43482709c3e9d4ec34b2f (diff) | |
download | emacs-16ddec7e9e6adcf615db097d9627d490ca29208c.tar.gz emacs-16ddec7e9e6adcf615db097d9627d490ca29208c.tar.bz2 emacs-16ddec7e9e6adcf615db097d9627d490ca29208c.zip |
merge trunk
Diffstat (limited to 'lisp/emacs-lisp/eieio-datadebug.el')
-rw-r--r-- | lisp/emacs-lisp/eieio-datadebug.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/eieio-datadebug.el b/lisp/emacs-lisp/eieio-datadebug.el index b7f0deb0ee2..ec470d21bf3 100644 --- a/lisp/emacs-lisp/eieio-datadebug.el +++ b/lisp/emacs-lisp/eieio-datadebug.el @@ -92,12 +92,11 @@ PREBUTTONTEXT is some text between PREFIX and the object button." "Class: ") ;; Loop over all the public slots (let ((publa (aref cv class-public-a)) - (publd (aref cv class-public-d)) ) (while publa (if (slot-boundp obj (car publa)) - (let ((i (class-slot-initarg cl (car publa))) - (v (eieio-oref obj (car publa)))) + (let* ((i (class-slot-initarg cl (car publa))) + (v (eieio-oref obj (car publa)))) (data-debug-insert-thing v prefix (concat (if i (symbol-name i) @@ -112,7 +111,7 @@ PREBUTTONTEXT is some text between PREFIX and the object button." " ") 'font-lock-keyword-face)) ) - (setq publa (cdr publa) publd (cdr publd)))))) + (setq publa (cdr publa)))))) ;;; Augment the Data debug thing display list. (data-debug-add-specialized-thing (lambda (thing) (object-p thing)) |