Don’t start an alternative editor

Sometimes I’m too impatient and will try to start ‘emacsclient’ before the
server has finished starting up. This means that it will start another Emacs
session and it won’t be obvious to me. Now it’ll just fail to start
‘emacsclient’ and I can try again a few seconds later.
This commit is contained in:
Tom Willemse 2020-09-02 15:52:01 -07:00
parent c6dd756ce1
commit e0ad37a42d

View file

@ -73,8 +73,7 @@ hc keybind $Mod-c spawn hlwm-run-or-raise '\(URxvt\|Hyper\|kitty\)' kitty
hc keybind $Mod-b spawn hlwm-run-or-raise '\(Conkeror\|[Ff]irefox\|Chromium\)' firefox
# Switch to a running instance of Emacs, or create an Emacs client
# frame. Start an Emacs daemon if necessary.
hc keybind $Mod-t spawn hlwm-run-or-raise Emacs \
emacsclient --create-frame --alternate-editor=''
hc keybind $Mod-t spawn hlwm-run-or-raise Emacs emacsclient --create-frame
# Lock the screen with C-M-l.
hc keybind Control-Mod1-l spawn i3lock --color 000000
# Swap visible tags