The file __launch_emacs.fish assumes that (x-display-list) will return nil when all the frames are closed.
This doesn't always happen on my system, where it will stay as '(":1")' even when I have no frames open. This results in e silently doing nothing and returning to the command line.
The file
__launch_emacs.fish
assumes that(x-display-list)
will returnnil
when all the frames are closed.This doesn't always happen on my system, where it will stay as '(":1")' even when I have no frames open. This results in
e
silently doing nothing and returning to the command line.A workaround is to call
ec
.Reproduction steps:
/usr/bin/emacs
.e ~
and it will not open a new frame.