Overriding theme_item_list in a context I am using Views Tree plugin to render a taxonomy. I need to get rid of the surrounding &lt;div class="item-list"&gt;&lt;/div&gt; wrappers. While I could simply override the theme_item_list function in my template, I would like the override to only take place within a view. Otherwise the wrapper is just fine. What kind of 'if' should I use around it to apply a Views context?
You can to get rid of the surrounding  wrappers by overriding theme_item_list($variables) function in you template.php or module and comment hardcoded lines:

    $output = '&lt;div class="item-list"&gt;';


and 

    $output = '&lt;/div&gt;';


See details on http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_item_list/7