Use emacs-dir as global variable