aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2015-10-04 21:59:42 +0300
committerDavid Bremner <david@tethera.net>2015-11-19 07:35:22 -0400
commite870d73dc8830fbfc4c79b02c839ced0d42f73a5 (patch)
tree493f39fc3364d8ebbaef6240bdf49fe2c2cb75b4
parent36ad2717049452db877f310549bea263301bfe95 (diff)
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.
-rwxr-xr-xnotmuch-emacs-mua4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua
index 016fa126..4404cd7c 100755
--- a/notmuch-emacs-mua
+++ b/notmuch-emacs-mua
@@ -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=