Re: [PATCH] exec emacs at the end of run_emacs script

Subject: Re: [PATCH] exec emacs at the end of run_emacs script

Date: Sat, 12 Nov 2011 11:20:53 -0500

To: Tomi Ollila

Cc: notmuch@notmuchmail.org

From: Austin Clements


LGTM

Quoth Tomi Ollila on Nov 11 at  1:43 am:
> In the last line of run_emacs, exec the emacs process.
> With one fork less the process list is (also) neater.
> ---
>  test/test-lib.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/test/test-lib.sh b/test/test-lib.sh
> index 57cb088..3ad325a 100755
> --- a/test/test-lib.sh
> +++ b/test/test-lib.sh
> @@ -834,7 +834,7 @@ export NOTMUCH_CONFIG=$NOTMUCH_CONFIG
>  #
>  # --load		Force loading of notmuch.el and test-lib.el
>  
> -emacs --no-init-file --no-site-file \
> +exec emacs --no-init-file --no-site-file \
>  	--directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
>  	--directory "$TEST_DIRECTORY" --load test-lib.el \
>  	"\$@"

Thread: