fish: Set EDITOR variable and edit function to use -n and -create-frame option in emacsclient

This commit is contained in:
Vincent Ambo 2013-07-10 11:39:13 +02:00
parent c5f6606f63
commit f2d23b8182
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ function fish_right_prompt
echo -n ']' echo -n ']'
end end
set -gx EDITOR emacsclient set -gx EDITOR "emacsclient -n -create-frame"
set -gx ALTERNATE_EDITOR emacs set -gx ALTERNATE_EDITOR emacs
set -gx VISUAL emacsclient set -gx VISUAL emacsclient

View file

@ -1,3 +1,3 @@
function edit function edit
emacsclient -no-wait $argv emacsclient -no-wait -create-frame $argv
end end