[PATCH] exec emacs at the end of run_emacs script

Tomi Ollila tomi.ollila at iki.fi
Thu Nov 10 15:43:03 PST 2011


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 \
 	"\$@"
-- 
1.5.6.5



More information about the notmuch mailing list