[PATCH v4 3/5] notmuch-emacs-mua: move --client option handling around
Jani Nikula
jani at nikula.org
Sat Aug 15 02:05:13 PDT 2015
Move --client handling to a more suitable location. No functional
changes.
---
notmuch-emacs-mua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua
index e33aa955d6b5..1f088c42feb9 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
--
2.1.4
More information about the notmuch
mailing list