mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
notmuch-emacs-mua: use message-add-actions
Use message.el -provided function message-add-actions to set(/add) #'save-buffers-kill-terminal into the message-exit-actions list.
This commit is contained in:
parent
36492f20a7
commit
e401daecab
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ done
|
|||
|
||||
# Kill the terminal/frame if we're creating one.
|
||||
if [ -z "$USE_EMACSCLIENT" -o -n "$CREATE_FRAME" -o -n "$NO_WINDOW" ]; then
|
||||
ELISP="${ELISP} (setq message-exit-actions (list #'save-buffers-kill-terminal))"
|
||||
ELISP="${ELISP} (message-add-action #'save-buffers-kill-terminal 'exit)"
|
||||
fi
|
||||
|
||||
# End progn.
|
||||
|
|
Loading…
Reference in a new issue