Explorar o código

Add script to run emacs or create a client window

Samuel W. Flint %!s(int64=6) %!d(string=hai) anos
pai
achega
b93b37c7f7
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      emacs-or-client

+ 7 - 0
emacs-or-client

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if emacsclient --alternate-editor=false -e 't' ; then
+    emacsclient -c -n
+else
+    emacs
+fi