Minor bug fixes for gnus-sync.el.
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 12 Aug 2010 20:16:03 +0000 (15:16 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 12 Aug 2010 20:16:03 +0000 (15:16 -0500)
* gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
quiet.

* gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).

lisp/ChangeLog
lisp/gnus-sync.el

index ce7849e..3f08fbc 100644 (file)
@@ -1,3 +1,12 @@
+2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       Minor bug fixes for gnus-sync.el.
+
+       * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
+       quiet.
+
+       * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
+
 2010-07-30  Lawrence Mitchell  <wence@gmx.li>
 
        Make saving and restoring of hidden threads work with overlays.
index 1bf0740..153217e 100644 (file)
@@ -118,7 +118,8 @@ synchronized, I believe).  Also see `gnus-variable-list'."
                    (print-circle nil)
                    (print-escape-newlines t)
                    (variables (cons 'gnus-sync-newsrc-loader
-                                    gnus-sync-global-vars)))
+                                    gnus-sync-global-vars))
+                   variable)
               (while variables
                 (when (and (boundp (setq variable (pop variables)))
                            (symbol-value variable))
@@ -179,7 +180,7 @@ synchronized, I believe).  Also see `gnus-variable-list'."
            (setq gnus-sync-newsrc-loader nil)))
           (nil))
     ;; make the hashtable again because the newsrc-alist may have been modified
-    (when gnus-sync-newsrc-vars
+    (when gnus-sync-newsrc-offsets
       (gnus-message 9 "gnus-sync: remaking the newsrc hashtable")
       (gnus-make-hashtable-from-newsrc-alist))))