From 189ae560786ce1753a0bf8549a182de20a8a062b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 17 May 2014 14:37:19 -0700 Subject: [PATCH] add emacs_r and emacsclient_r --- emacs_r | 9 +++++++++ emacsclient_r | 1 + 2 files changed, 10 insertions(+) create mode 100755 emacs_r create mode 120000 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 -- 2.39.2