diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2012-09-01 Kaz Kylheku <kaz@kylheku.com> + * eval.c (symbol_function): Bugfix: return the function rather than + the whole binding. + +2012-09-01 Kaz Kylheku <kaz@kylheku.com> + * txr.1: Minor corrections, and documented most stream functions, except directory-related ones. @@ -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) |