mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
notmuch-emacs-mua: make --auto-daemon imply --create-frame
Before this change with --auto-daemon but without --create-frame emacs server was started but no clients stay connected to it (in both graphical and terminal displays). Note that this changes how --client --auto-daemon works on graphical display; New emacs frame is now created for the message (and message-exit-actions hook appended).
This commit is contained in:
parent
b69201da5d
commit
7b7dadb93f
2 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,8 @@ Supported options for **notmuch-emacs-mua** include
|
||||||
|
|
||||||
``--auto-daemon``
|
``--auto-daemon``
|
||||||
Automatically start Emacs in daemon mode, if the Emacs server
|
Automatically start Emacs in daemon mode, if the Emacs server
|
||||||
is not running. Applicable with ``--client``.
|
is not running. Applicable with ``--client``. Implies
|
||||||
|
``--create-frame``.
|
||||||
|
|
||||||
``--create-frame``
|
``--create-frame``
|
||||||
Create a new frame instead of trying to use the current Emacs
|
Create a new frame instead of trying to use the current Emacs
|
||||||
|
|
|
@ -108,6 +108,7 @@ while getopts :s:c:b:i:h opt; do
|
||||||
;;
|
;;
|
||||||
--auto-daemon)
|
--auto-daemon)
|
||||||
AUTO_DAEMON="--alternate-editor="
|
AUTO_DAEMON="--alternate-editor="
|
||||||
|
CREATE_FRAME="-c"
|
||||||
;;
|
;;
|
||||||
--create-frame)
|
--create-frame)
|
||||||
CREATE_FRAME="-c"
|
CREATE_FRAME="-c"
|
||||||
|
|
Loading…
Reference in a new issue