Permalink
Browse files

Fixed problem with inspector not being able to inspect an objects parts

  • Loading branch information...
1 parent 6245068 commit 456f2daffd1ff6a721525dc6bda4fbec349e7535 @hugoduncan hugoduncan committed Mar 12, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/swank/commands/inspector.clj
@@ -268,7 +268,9 @@
(if (and (zero? frame) *current-env*)
(let [locals (local-non-functions *current-env*)
object (locals (nth (keys locals) index))]
- (inspect-object object))))
+ (with-emacs-package
+ (reset-inspector)
+ (inspect-object object)))))
(defslimefn inspector-nth-part [index]
(get @*inspectee-parts* index))

0 comments on commit 456f2da

Please sign in to comment.