update for emacs 24