projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36492f2
)
notmuch-emacs-mua: use message-add-actions
author
Tomi Ollila
<tomi.ollila@iki.fi>
Sat, 28 May 2016 11:06:03 +0000
(14:06 +0300)
committer
David Bremner
<david@tethera.net>
Sat, 11 Jun 2016 16:09:08 +0000
(13:09 -0300)
Use message.el -provided function message-add-actions to
set(/add) #'save-buffers-kill-terminal into the message-exit-actions
list.
notmuch-emacs-mua
patch
|
blob
|
history
diff --git
a/notmuch-emacs-mua
b/notmuch-emacs-mua
index 02d7fd74d67c539db9f7ff7b84a57d4e14c57b0f..08be145b24a7f45ba7eecf76c76622c75f62f8f7 100755
(executable)
--- a/
notmuch-emacs-mua
+++ b/
notmuch-emacs-mua
@@
-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.