Stop undo list from being converted to a string, just to see if it's empty.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden@3661 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1