Re: [PATCH] notmuch-emacs-mua: escape $PWD (and cd always). use message-add-actions.

Subject: Re: [PATCH] notmuch-emacs-mua: escape $PWD (and cd always). use message-add-actions.

Date: Sun, 15 May 2016 10:28:48 -0300

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

>  # 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
>  

This seems to work fine, but afaict it is two completely distinct
patches squashed into one.

d

Thread: