chiark / gitweb /
dot/emacs (bbdb-canonicalize-net-hook): Handle `nil' address.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Apr 2016 08:22:57 +0000 (09:22 +0100)
commit3690368c9119a35d62afd69498fa9215d8a54560
tree81a028717e471d1d5db27d1f6528ad927564e73e
parente6b209319165993de719250e277a675cc5f8703a
dot/emacs (bbdb-canonicalize-net-hook): Handle `nil' address.

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.
dot/emacs