Thanks for all the suggestions. They helped out... If there a way to
check and see if the listchar is actually set or not?
In my script, I now turn off the display with 'set invlist list?', but
I do not want to turn it back on if it was not previously set...
Well, you can use the common idiom
let l:old_list = &list
set nolist
" do stuff
let &list = l:old_list
which will allow you to temporarily disable the 'list' setting,
do stuff without it, and then restore it to whatever it was
previously...
-tim