X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT450-emacs-show.sh;h=cca56ca32cd6875e6da4dbcd7b3b90932b3e3bef;hb=6eaadb43adae2cca2f8023830d498ef3164f7fe9;hp=de1755d2da890d6891db54cdff0e35bd7e986f58;hpb=9c0001de4bf3446a7cb8e6afc8dd3288be9169b7;p=notmuch diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index de1755d2..cca56ca3 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -177,7 +177,7 @@ test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\")) (let ((inhibit-read-only t)) (erase-buffer))) (condition-case err (notmuch-show \"*\") - (error (message \"%s\" (second err)))) + (error (message \"%s\" (cadr err)))) (notmuch-test-wait) (with-current-buffer \"*Messages*\" (test-output \"MESSAGES\"))