Fix ecb for emacs 24