[gnus git] branch master updated: n0-17-32-g794657a =1= * registry.el (registry-prune): Make the sort function optional.
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 794657ac6adeef109bf5dd1c06c8a9d3f6f370dd (commit)
from 2864a2e689bc57a2e0f72f530a7f0e42f82508bb (commit)
- Log -----------------------------------------------------------------
commit 794657ac6adeef109bf5dd1c06c8a9d3f6f370dd
Author: Ted Zlatanov <[email protected]>
Date: Tue May 10 12:40:49 2011 -0500
* registry.el (registry-prune): Make the sort function optional.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8147867..46c5bc9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,7 +2,7 @@
* registry.el (registry-prune-hard-candidates)
(registry-prune-soft-candidates): Helper methods for registry pruning.
- (registry-prune): Use them.
+ (registry-prune): Use them. Make the sort function optional.
2011-05-10 Julien Danjou <[email protected]>
diff --git a/lisp/registry.el b/lisp/registry.el
index b3123f6..ffba2e1 100644
--- a/lisp/registry.el
+++ b/lisp/registry.el
@@ -314,7 +314,7 @@ Errors out if the key exists already."
This is the key count of the :data slot."
(hash-table-count (oref db :data)))
- (defmethod registry-prune ((db registry-db) sortfun)
+ (defmethod registry-prune ((db registry-db) &optional sortfun)
"Prunes the registry-db object THIS.
Removes only entries without the :precious keys if it can,
then removes oldest entries first.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 2 +-
lisp/registry.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project