rework procedure-callers to stay correct as callees are redefined
authorAndy Wingo <wingo@pobox.com>
Wed, 18 Mar 2009 00:49:28 +0000 (01:49 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 18 Mar 2009 00:49:28 +0000 (01:49 +0100)
commite0a3ad670bf43b9815bec31b83417de2bc3c2784
treec7dfd2a6c04eca2b229c730723f54cea58303a35
parent7eba9c99c262acb872a52d95c45a216232d2b8dc
rework procedure-callers to stay correct as callees are redefined

* module/system/xref.scm (procedure-callers): Rework to calculate the
  callers of a *variable*, not of a value. This is because the
  module-observers only get fired when the module changes, not with the
  variables change values. Also accept either a variable, a symbol
  (resolved in the current module), or a modname . symname pair.
module/system/xref.scm