It turns out that, despite the documentation not mentioning this at all,
that the hook is allowed to return `nil' to suppress insertion of the
address into the database at all. The only snag is that `nil' is
/still/ sent back to the hook to check for convergence. So notice this
and return `nil' back, since it's not like we're going to be able to
turn it into anything more useful.
"\\)$")
bbdb-canonicalize-net-hook
(lambda (addr)
- (cond ((string-match (concat "^reply-[0-9a-f]+-[0-9a-f]+_"
+ (cond ((null addr)
+ nil)
+ ((string-match (concat "^reply-[0-9a-f]+-[0-9a-f]+_"
"HTML-[0-9]+-[0-9]+-[0-9]+"
"@\\(nationwide-communications\\.co\\.uk\\)")
addr)