summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog9
-rw-r--r--lisp/gnus/gnus-sync.el5
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ead4a7fe7e8..9a5bd7bc144 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -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.
diff --git a/lisp/gnus/gnus-sync.el b/lisp/gnus/gnus-sync.el
index 1bf07409648..153217ef38c 100644
--- a/lisp/gnus/gnus-sync.el
+++ b/lisp/gnus/gnus-sync.el
@@ -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))))