]> git.notmuchmail.org Git - notmuch/commitdiff
exec emacs at the end of run_emacs script
authorTomi Ollila <tomi.ollila@iki.fi>
Thu, 10 Nov 2011 23:43:03 +0000 (01:43 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 13 Nov 2011 03:21:44 +0000 (23:21 -0400)
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

index d88548b3838868146269dbdc2dcf1992ab04a22d..020bcb7a887a9c0ec10399d51306cb841e30e152 100755 (executable)
@@ -830,7 +830,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 \
        "\$@"