summaryrefslogtreecommitdiff
path: root/.bash.d/emacs.sh
blob: 66b555885623ed826eaf9217f3cbdf4cecab62e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
		:;;
esac