emacs: Prevent ido from switching to a different directory.