From 6ab9e7f4af28b6650d06f2e54e2d2f2d93cdac09 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Jun 2015 05:04:08 -0700 Subject: [PATCH] Disable emacs aliases for old approach to getting $EDITOR working. --- dotfiles/lib/shellenv/emacs.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dotfiles/lib/shellenv/emacs.sh b/dotfiles/lib/shellenv/emacs.sh index f4cdd021..cdae5414 100644 --- a/dotfiles/lib/shellenv/emacs.sh +++ b/dotfiles/lib/shellenv/emacs.sh @@ -1,7 +1,13 @@ -alias emacs='_emacs -c -n ' -is_osx && alias emacs='cocoa_emacs' -alias terminal_emacs='_emacs -t' -is_ssh && emacs="terminal_emacs" +# ATTENTION: Most of the functions in this file are part of a now +# deprecated system for starting emacs that made the $EDITOR +# environment variable work for git and other things + + +# This approach is no longer in use. +# alias emacs='_emacs -c -n ' +# is_osx && alias emacs='cocoa_emacs' +# alias terminal_emacs='_emacs -t' +# is_ssh && emacs="terminal_emacs" function kill_all_emacs { emacs_pids | xargs kill -9