aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2015-08-15 12:05:13 +0300
committerDavid Bremner <david@tethera.net>2015-09-29 08:25:25 -0300
commitcb4e73b73664147404fbb835d1749b2c9326da24 (patch)
tree60274add7304056a4d44b0f1aa1f1af92005dde8
parent0aa74d3241687ff70819981bbecad96b204886e7 (diff)
notmuch-emacs-mua: move --client option handling around
Move --client handling to a more suitable location. No functional changes.
-rwxr-xr-xnotmuch-emacs-mua6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua
index e33aa955..1f088c42 100755
--- a/notmuch-emacs-mua
+++ b/notmuch-emacs-mua
@@ -82,9 +82,6 @@ while getopts :s:c:b:i:h opt; do
--help|h)
exec man notmuch-emacs-mua
;;
- --client)
- USE_EMACSCLIENT="yes"
- ;;
--subject|s)
ELISP="${ELISP} (message-goto-subject) (insert \"${OPTARG}\")"
;;
@@ -107,6 +104,9 @@ while getopts :s:c:b:i:h opt; do
NO_WINDOW="-nw"
CREATE_FRAME=
;;
+ --client)
+ USE_EMACSCLIENT="yes"
+ ;;
*)
# We should never end up here.
echo "$0: internal error (option ${opt})." >&2