diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-01 23:41:52 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-01 23:41:52 -0700 |
commit | 3f510f49a0e00d7b6b057e6cee6f4c2ac34d0f5f (patch) | |
tree | dc9ad19fd9457d0aa4af44984c0d65f40f2daffd /eval.c | |
parent | a429075a537b72d6dea3a8c66fb0191f0ebbc32f (diff) | |
download | txr-3f510f49a0e00d7b6b057e6cee6f4c2ac34d0f5f.tar.gz txr-3f510f49a0e00d7b6b057e6cee6f4c2ac34d0f5f.tar.bz2 txr-3f510f49a0e00d7b6b057e6cee6f4c2ac34d0f5f.zip |
* eval.c (symbol_function): Bugfix: return the function rather than
the whole binding.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1849,7 +1849,7 @@ static val lazy_mappendv(val fun, val list_of_lists) static val symbol_function(val sym) { - return lookup_fun(nil, sym); + return cdr(lookup_fun(nil, sym)); } static val rangev_func(val env, val lcons) |