diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-25 21:13:45 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-25 22:31:41 -0700 |
commit | cf40c6ea3f5f9424a8d6f8ab9e4b0b58eb7c860c (patch) | |
tree | d9e0691f365f15e534b940014dd43617c815c4db /scripts | |
parent | 561a8baef7acd5e3058133559be635ffeb164327 (diff) | |
download | dotfiles-cf40c6ea3f5f9424a8d6f8ab9e4b0b58eb7c860c.tar.gz |
integrate new Emacs workstation devel builds
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/desktop/emacsclient | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/desktop/emacsclient b/scripts/desktop/emacsclient new file mode 100755 index 00000000..bad6d26e --- /dev/null +++ b/scripts/desktop/emacsclient @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ -e "$HOME/src/emacs/admin/README.melete" \ + -a -x "$HOME/src/emacs/lib-src/emacsclient" \ + -a -d "/usr/share/emacs-snapshot/site-lisp/elpa" ]; then + EMACSCLIENT="$HOME/src/emacs/lib-src/emacsclient" +else + EMACSCLIENT=$(command -v emacsclient) +fi + +$EMACSCLIENT -a "" -nc |