]> git.notmuchmail.org Git - notmuch/commit
emacs: Don't report CLI signals sent by Emacs as errors
authorAustin Clements <amdragon@MIT.EDU>
Sun, 9 Jun 2013 04:45:37 +0000 (00:45 -0400)
committerDavid Bremner <bremner@debian.org>
Wed, 12 Jun 2013 14:53:15 +0000 (23:53 +0900)
commit634914064bdfa4acb5b489dc03bd4ff5dcda3170
tree758647cf6f4c5675b7f66767f1110f49c511713e
parent8d6aa603ef3a9680c7032cabf59e3673f773dea3
emacs: Don't report CLI signals sent by Emacs as errors

Previously, when the user killed the search buffer before the CLI
search process had completed, we would report the signal sent by Emacs
to kill the CLI to the user as an error.  Fix this by only reporting
error exits if the process buffer is still live.  We still report
stderr output regardless in case stderr output was relevant to why the
user killed the search buffer (such as a wrapper script being stuck).
emacs/notmuch-lib.el