emacs: implement similar fallback