for emacs version 23