emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101067: Minor bug fixes for gnus-syn


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101067: Minor bug fixes for gnus-sync.el.
Date: Fri, 13 Aug 2010 10:58:21 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101067
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Fri 2010-08-13 10:58:21 +0000
message:
  Minor bug fixes for gnus-sync.el.
  From Ted Zlatanov <address@hidden>.
  
  * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
  read the sync on get-new-news.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-sync.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-08-13 10:54:05 +0000
+++ b/lisp/gnus/ChangeLog       2010-08-13 10:58:21 +0000
@@ -2,6 +2,9 @@
 
        Minor bug fixes for gnus-sync.el.
 
+       * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
+       read the sync on get-new-news.
+
        * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
        quiet.
 

=== modified file 'lisp/gnus/gnus-sync.el'
--- a/lisp/gnus/gnus-sync.el    2010-08-13 10:54:05 +0000
+++ b/lisp/gnus/gnus-sync.el    2010-08-13 10:58:21 +0000
@@ -195,14 +195,14 @@
 (defun gnus-sync-install-hooks ()
   "Install the sync hooks."
   (interactive)
-  (add-hook 'gnus-get-new-news-hook 'gnus-sync-read)
+  ;; (add-hook 'gnus-get-new-news-hook 'gnus-sync-read)
   (add-hook 'gnus-save-newsrc-hook 'gnus-sync-save)
-  (add-hook 'gnus-read-newsrc-el-hook 'gnus-sync-read))
+  (add-hook 'gnus-read-newsrc-el-hoo4a 'gnus-sync-read))
 
 (defun gnus-sync-unload-hook ()
   "Uninstall the sync hooks."
   (interactive)
-  (remove-hook 'gnus-get-new-news-hook 'gnus-sync-read)
+  ;; (remove-hook 'gnus-get-new-news-hook 'gnus-sync-read)
   (remove-hook 'gnus-save-newsrc-hook 'gnus-sync-save)
   (remove-hook 'gnus-read-newsrc-el-hook 'gnus-sync-read))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]