fix multi-term which is broken on emacs 24.4