re-enabled emacs detection