From 4dcf3f97d30a2b892716923ed4e916805ec87436 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 24 Dec 2015 18:05:41 -0800 Subject: Replace FUNCALL with apply. --- src/interp/br-con.boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp/br-con.boot') diff --git a/src/interp/br-con.boot b/src/interp/br-con.boot index c4e53323..db83fbaf 100644 --- a/src/interp/br-con.boot +++ b/src/interp/br-con.boot @@ -473,7 +473,7 @@ kcaPage1(htPage,kind,article,whichever,fn, isCatDescendants?) == htpSetProperty(htPage,'heading,heading) conform := htpProperty(htPage,'conform) conname := opOf conform - ancestors := FUNCALL(fn, conform, domname) + ancestors := apply(fn, [conform, domname]) if whichever ~= '"ancestor" then ancestors := augmentHasArgs(ancestors,conform) ancestors := listSort(function GLESSEQP,ancestors) @@ -760,7 +760,7 @@ koaPageFilterByName(htPage,functionToCall) == opAlist := [x for x in htpProperty(htPage,'opAlist) | superMatch?(filter,DOWNCASE STRINGIMAGE first x)] htpSetProperty(htPage,'opAlist,opAlist) - FUNCALL(functionToCall,htPage,nil) + apply(functionToCall,[htPage,nil]) --======================================================================= -- Get Constructor Documentation -- cgit v1.2.3