emacs: use open frame if there is one present
emacs: use open frame if there is one present

Fixes #5779
Fixes #5405
monological/oh-my-zsh,monological/oh-my-zsh,monological/oh-my-zsh,monological/oh-my-zsh