From: Don Armstrong Date: Sat, 17 May 2014 21:37:19 +0000 (-0700) Subject: add emacs_r and emacsclient_r X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=189ae560786ce1753a0bf8549a182de20a8a062b;hp=18bbd6452bcc6c5942feb52889225bd11e079235;p=bin.git add emacs_r and emacsclient_r --- diff --git a/emacs_r b/emacs_r new file mode 100755 index 0000000..ba7ccbc --- /dev/null +++ b/emacs_r @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "x$(basename $0)" = "xemacs_r" ]; then + emacs -e '(setq server-name "R")' "$@"; +elif [ "x$(basename $0)" = "xemacsclient_r" ]; then + emacsclient -s R "$@"; +else + echo "No clue what to do '$0'"; +fi; diff --git a/emacsclient_r b/emacsclient_r new file mode 120000 index 0000000..9e4211e --- /dev/null +++ b/emacsclient_r @@ -0,0 +1 @@ +emacs_r \ No newline at end of file