~muirrum/dotfiles

5c001c5ca5e94c784639d5e273d4d5c20e020094 — Cara Salter 6 months ago 61c572e
update emacsctl for no systemd
1 files changed, 3 insertions(+), 3 deletions(-)

M bin/emacsctl
M bin/emacsctl => bin/emacsctl +3 -3
@@ 4,7 4,7 @@ new() {
      if [ $# -eq 0 ]; then
         new_eval "(fancy-about-screen)" > /dev/null
      else
        emacsclient -t "$@"
        emacsclient -t -d localhost:0 "$@"
      fi
}



@@ 13,12 13,12 @@ start() {
}

stop() {
      systemctl --user stop emacs
      pkill emacs
}


new_eval() {
      emacsclient -nw -nt --eval "$@"
      emacsclient -d localhost:0 -nw -nt --eval "$@"
}

handle_cli() {