]> git.notmuchmail.org Git - notmuch/commitdiff
Make `notmuch-show-clean-address' parsing-error-proof.
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Thu, 12 May 2011 13:56:25 +0000 (17:56 +0400)
committerCarl Worth <cworth@cworth.org>
Fri, 3 Jun 2011 21:08:26 +0000 (14:08 -0700)
Mail-header-parse-address may fail for an invalid address.
Before the change, this would result in empty notmuch-show buffer
with an error message like: Scan error: "Unbalanced parentheses".
The patch wraps the function in condition-case and returns
unchanged address in case of error.


No differences found