X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/957fc2e1a7d00636c7eaaf487edae65e7a63dc8f..ee476f1e7616fa53c492b8077b55af35662eec82:/test/T450-emacs-show.sh diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 2a3a5356..bfcd5efe 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -173,7 +173,8 @@ exit 1 EOF chmod a+x notmuch_fail test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\")) - (with-current-buffer \"*Messages*\" (erase-buffer)) + (with-current-buffer \"*Messages*\" + (let ((inhibit-read-only t)) (erase-buffer))) (condition-case err (notmuch-show \"*\") (error (message \"%s\" (second err))))