X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=f67fbd1b7c7ebb9e18b99172961363617085d893;hb=4bb1b1603c416c167459203fd2bd0fe94518bacb;hp=f1b07cc415b85caf7150a6bb9531c323e6936fae;hpb=b97a763dc110f4bc74390e34acb29033c0c8bc90;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index f1b07cc4..f67fbd1b 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -715,6 +715,12 @@ test_done () { fi } +test_emacs () { + emacs_code="$1" + emacs --batch --no-site-file --directory ../../emacs --load notmuch.el --eval "(progn (set-frame-width (window-frame (get-buffer-window)) 80) ${emacs_code})" +} + + find_notmuch_path () { dir="$1"