made .emacs file somewhat version aware