updating ws-trim.el to support emacs 24.