Avoid calling procedure-name when doing a make-procedure-with-setter
authorAndy Wingo <wingo@pobox.com>
Thu, 31 Oct 2013 11:52:23 +0000 (12:52 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 31 Oct 2013 11:55:24 +0000 (12:55 +0100)
commit30b7cf9df0f51bc2a3553396dc368c197eab4d8d
treeeac9a77340ee120423d4abea40856a744f64942b
parent6165d8120d5973ea177514d0632247e1d38904ee
Avoid calling procedure-name when doing a make-procedure-with-setter

* libguile/procs.c (scm_make_procedure_with_setter): Don't set the name
  of the procedure.  Instead rely on procedure-name to look it up from
  the wrapped procedure as needed.
* libguile/procprop.c (scm_procedure_name): If there was no override and
  the procedure is a procedure-with-setter, recurse on the procedure.
libguile/procprop.c
libguile/procs.c