Index: openacs-4/packages/acs-outdated/tcl/acs-tcl-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-outdated/tcl/acs-tcl-procs.tcl,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/acs-outdated/tcl/acs-tcl-procs.tcl 16 Nov 2019 16:54:06 -0000 1.4.2.1 +++ openacs-4/packages/acs-outdated/tcl/acs-tcl-procs.tcl 2 Sep 2024 13:23:19 -0000 1.4.2.2 @@ -1,10 +1,16 @@ -ad_proc -public -deprecated lmap {list proc_name} { - Applies proc_name to each item of the list, appending the result of - each call to a new list that is the return value. -} { - set lmap [list] - foreach item $list { - lappend lmap [ad_safe_eval $proc_name $item] +# +# Loading this proc will harm the full installation. It is kept here +# just as a reference for people migrating from ancient versions. +# +if {0} { + ad_proc -public -deprecated lmap {list proc_name} { + Applies proc_name to each item of the list, appending the result of + each call to a new list that is the return value. + } { + set lmap [list] + foreach item $list { + lappend lmap [ad_safe_eval $proc_name $item] + } + return $lmap } - return $lmap }