;;; gnus-sync.el --- synchronization facility for Gnus
-;;; Copyright (C) 2010
-;;; Free Software Foundation, Inc.
+;; Copyright (C) 2010 Free Software Foundation, Inc.
;; Author: Ted Zlatanov <tzz@lifelogs.com>
;; Keywords: news synchronization nntp nnrss
(defgroup gnus-sync nil
"The Gnus synchronization facility."
- :version "23.1"
+ :version "24.1"
:group 'gnus)
(defcustom gnus-sync-newsrc-groups `("nntp" "nnrss")
(cons offset (nth offset entry)))
gnus-sync-newsrc-offsets))))
(gnus-sync-newsrc-loader
- (nunion gnus-sync-newsrc-loader
+ (nunion loader
(set-difference gnus-sync-newsrc-loader loader :key 'car)
:key 'car)))
gnus-sync-global-vars))
variable)
(while variables
- (when (and (boundp (setq variable (pop variables)))
+ (if (and (boundp (setq variable (pop variables)))
(symbol-value variable))
- (princ "\n(setq ")
- (princ (symbol-name variable))
- (princ " '")
- (prin1 (symbol-value variable))
- (princ ")\n"))))
+ (progn
+ (princ "\n(setq ")
+ (princ (symbol-name variable))
+ (princ " '")
+ (prin1 (symbol-value variable))
+ (princ ")\n"))
+ (princ "\n;;; skipping empty variable ")
+ (princ (symbol-name variable)))))
(gnus-message
7
"gnus-sync: stored variables %s and %d groups in %s"