support emacs23 legacy packages