Commit 7f13c2e2 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

gnus-art.el (gnus-article-setup-buffer): Stop the date timer if...

gnus-art.el (gnus-article-setup-buffer): Stop the date timer if gnus-article-update-date-headers is nil.
gnus.texi (Article Date): Remove mention of gnus-stop-date-timer, since it's run automatically.
parent e0dd6837
2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Article Date): Remove mention of gnus-stop-date-timer,
since it's run automatically.
2011-02-01 Lars Ingebrigtsen <larsi@gnus.org> 2011-02-01 Lars Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Customizing Articles): Fix typo. * gnus.texi (Customizing Articles): Fix typo.
......
...@@ -9503,8 +9503,7 @@ that off, say: ...@@ -9503,8 +9503,7 @@ that off, say:
(setq gnus-article-update-date-headers nil) (setq gnus-article-update-date-headers nil)
@end lisp @end lisp
   
in your @file{~/.gnus.el} file. If you want to stop the updating in your @file{~/.gnus.el} file.
dynamically, you can use the @code{gnus-stop-date-timer} command.
   
@item W T o @item W T o
@kindex W T o (Summary) @kindex W T o (Summary)
2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
gnus-article-update-date-headers is nil.
2011-02-01 Julien Danjou <julien@danjou.info> 2011-02-01 Julien Danjou <julien@danjou.info>
   
* mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
......
...@@ -4505,9 +4505,13 @@ commands: ...@@ -4505,9 +4505,13 @@ commands:
(setq gnus-summary-buffer (setq gnus-summary-buffer
(gnus-summary-buffer-name gnus-newsgroup-name)) (gnus-summary-buffer-name gnus-newsgroup-name))
(gnus-summary-set-local-parameters gnus-newsgroup-name) (gnus-summary-set-local-parameters gnus-newsgroup-name)
(when (and gnus-article-update-date-headers (cond
((and gnus-article-update-date-headers
(not article-lapsed-timer)) (not article-lapsed-timer))
(gnus-start-date-timer gnus-article-update-date-headers)) (gnus-start-date-timer gnus-article-update-date-headers))
((and (not gnus-article-update-date-headers)
article-lapsed-timer)
(gnus-stop-date-timer)))
(current-buffer))))) (current-buffer)))))
;; Set article window start at LINE, where LINE is the number of lines ;; Set article window start at LINE, where LINE is the number of lines
......
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