notmuch-emacs-mua: set EMACS{,CLIENT} variables to defaults when empty

... in addition to doing this when these variables are unset.

It is more useful to use defaults (emacs or emacsclient) than empty
string as a command name.
This commit is contained in:
Tomi Ollila 2015-10-04 21:59:42 +03:00 committed by David Bremner
parent 36ad271704
commit e870d73dc8

View file

@ -30,8 +30,8 @@ escape ()
printf -v $2 '%s' "${__escape_arg__//\"/\\\"}"
}
EMACS=${EMACS-emacs}
EMACSCLIENT=${EMACSCLIENT-emacsclient}
EMACS=${EMACS:-emacs}
EMACSCLIENT=${EMACSCLIENT:-emacsclient}
PRINT_ONLY=
NO_WINDOW=