# HG changeset patch # User Katsumi Yamaoka # Date 1281696845 0 # Node ID f7cd57edb2cac00417ec574cc1f1817b7b0d854e # Parent af33651be88b5a96d9e466ec65855e4ecfc3f0ae 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). diff -r af33651be88b -r f7cd57edb2ca lisp/gnus/ChangeLog --- 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 + + 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 -r af33651be88b -r f7cd57edb2ca lisp/gnus/gnus-sync.el --- 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))))