diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-05-17 16:27:50 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-05-17 16:27:50 -0400 |
commit | b81536ad49001abf292bd31a0dcbf57e387387b1 (patch) | |
tree | 722cac2e9eab46a3b18d930dcd37703df48ebeba /.bash.d | |
parent | 5b8794f1f5e82c1a220f36a724e5c8ce3335c462 (diff) |
Fiddle with emacs config (when to use -n, -c), get emacs using el-get.
Diffstat (limited to '.bash.d')
-rw-r--r-- | .bash.d/emacs.sh | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/.bash.d/emacs.sh b/.bash.d/emacs.sh index 66b5558..f484bbb 100644 --- a/.bash.d/emacs.sh +++ b/.bash.d/emacs.sh @@ -1,13 +1,8 @@ -case "$SELECTED_EDITOR" in - emacsclient*) - case "$TERM" in - eterm*) - SELECTED_EDITOR="$SELECTED_EDITOR -n" - EDITOR=$SELECTED_EDITOR - VISUAL=$SELECTED_EDITOR - export SELECTED_EDITOR EDITOR VISUAL - :;; - esac - :;; +case "$TERM" in + eterm*) + SELECTED_EDITOR='emacsclient' + EDITOR=$SELECTED_EDITOR + VISUAL=$SELECTED_EDITOR + export SELECTED_EDITOR EDITOR VISUAL + :;; esac - |