- Fix pass of parameters

- Add new function `ecd'.
This commit is contained in:
Tristan Carel
2011-04-15 18:13:01 +02:00
parent a183bcbc6d
commit 49c0a1381a
2 changed files with 19 additions and 3 deletions

View File

@ -4,8 +4,8 @@
x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null`
if [ -z "$x" ] ;then
emacsclient --alternate-editor "" --create-frame $@
emacsclient --alternate-editor "" --create-frame "$@"
else
# prevent creating another X frame if there is at least one present.
emacsclient --alternate-editor "" $@
emacsclient --alternate-editor "" "$@"
fi