locate structure which defines a closure

On Sun, 27 Sep 2009 14:35:20 +0300, Timo Korvola wrote:
> Does Rep have a function that would return the structure (module) where 
> a given closure is defined?  It might be useful for debugging. 

(require 'rep.structure)
(closure-structure my-bogus-func)

> On the other hand, grep works pretty well too.


Teika (Teika kazura)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]