Try to prune the Gnus registry if it's full.
authorTed Zlatanov <tzz@lifelogs.com>
Mon, 9 May 2011 17:48:03 +0000 (12:48 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Mon, 9 May 2011 17:48:03 +0000 (12:48 -0500)
commit25ec0bdd5df677f42d9287d44fb917f3b730b522
tree760110bece087a946cb60fe070307c08a441ed24
parent2e80acc3d5080e2a714404546a367e95b0ac738e
Try to prune the Gnus registry if it's full.

* gnus-registry.el (gnus-registry-insert): Add wrapper that calls
`registry-prune' if `registry-full' returns t.
(gnus-registry-handle-action)
(gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
(gnus-registry-usage-test): Use it.

* registry.el (registry-full): Add convenience method.
(registry-insert): Use it.
lisp/ChangeLog
lisp/gnus-registry.el
lisp/registry.el