projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ad271
)
notmuch-emacs-mua: set EMACS{,CLIENT} variables to defaults when empty
author
Tomi Ollila
<tomi.ollila@iki.fi>
Sun, 4 Oct 2015 18:59:42 +0000
(21:59 +0300)
committer
David Bremner
<david@tethera.net>
Thu, 19 Nov 2015 11:35:22 +0000
(07:35 -0400)
... 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.
notmuch-emacs-mua
patch
|
blob
|
history
diff --git
a/notmuch-emacs-mua
b/notmuch-emacs-mua
index 016fa12613c49c217b11fa8959c55a1e50a8e40f..4404cd7c33b870c9fa6c1a26c24143852b6e9c25 100755
(executable)
--- 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=