From bbe276f2bff4be399edefde166c024fd09f54d1f Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Fri, 13 Aug 2010 10:54:05 +0000 Subject: [PATCH] Minor bug fixes for gnus-sync.el. From Ted Zlatanov . * 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/gnus/ChangeLog | 9 +++++++++ lisp/gnus/gnus-sync.el | 5 +++-- 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 + + 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 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)))) -- 2.11.4.GIT