changeset 109767:f7cd57edb2ca

Minor bug fixes for gnus-sync.el. From Ted Zlatanov <tzz@lifelogs.com>. * 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).
author Katsumi Yamaoka <yamaoka@jpl.org>
date Fri, 13 Aug 2010 10:54:05 +0000
parents af33651be88b
children 9c65ce5bc0db
files lisp/gnus/ChangeLog lisp/gnus/gnus-sync.el
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Fri Aug 13 10:50:01 2010 +0000
+++ b/lisp/gnus/ChangeLog	Fri Aug 13 10:54:05 2010 +0000
@@ -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.
--- a/lisp/gnus/gnus-sync.el	Fri Aug 13 10:50:01 2010 +0000
+++ b/lisp/gnus/gnus-sync.el	Fri Aug 13 10:54:05 2010 +0000
@@ -118,7 +118,8 @@
                    (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 @@
            (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))))