Commit bbe276f2 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

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).
parent 9fc8d464
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.
......
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment