Welcome to awesome bug tracking system.
FS#992 - Configuring awesome to remove tasklist icons in rc.lua causes error
Steps to reproduce:
1. Follow the instructions regarding rc.lua on http://awesome.naquadah.org/wiki/Remove_icons
2. Restart awesome.
The result is a bright red tooltip with message "Oops, there were errors during startup! /usr/share/awesome/lib/awful/widget/tasklist.lua:118: bad argument #2 to '?' (number expected, got function)". Editing tasklist.lua (first method described on wiki page) works as expected.
This task depends upon