[gnus git] branch master updated: n0-17-26-gd103393 =1= * registry.el (registry-insert): Use it. Fix logic here too.

Ted Zlatanov <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d103393e20c719780abd04cb97f48c6085ae7cc3 (commit)
      from  f9b7cf1052718555ece040f07e5b7d9e4bf0fc30 (commit)


- Log -----------------------------------------------------------------
commit d103393e20c719780abd04cb97f48c6085ae7cc3
Author: Ted Zlatanov <[email protected]>
Date:   Mon May 9 15:51:38 2011 -0500

    * registry.el (registry-insert): Use it.  Fix logic here too.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b17e3c3..3a2d8d0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,7 @@
 2011-05-09  Teodor Zlatanov  <[email protected]>
 
-	* registry.el (registry-full): Add convenience method.
-	(registry-insert): Use it.
-	(registry-full): Fix logic.
+	* registry.el (registry-full): Add convenience method.  Fix logic.
+	(registry-insert): Use it.  Fix logic here too.
 
 	* gnus-registry.el (gnus-registry-insert): Add wrapper that calls
 	`registry-prune' if `registry-full' returns t.
diff --git a/lisp/registry.el b/lisp/registry.el
index d862e9d..4beafd4 100644
--- a/lisp/registry.el
+++ b/lisp/registry.el
@@ -274,7 +274,7 @@ Errors out if the key exists already."
     (assert (not (gethash key (oref db :data))) nil
 	    "Key already exists in database")
 
-    (assert (registry-full db)
+    (assert (not (registry-full db))
 	    nil
 	    "registry max-hard size limit reached")
 

-----------------------------------------------------------------------
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   |    5 ++---
 lisp/registry.el |    2 +-
 2 files changed, 3 insertions(+), 4 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.