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

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>
* gnus.texi (Customizing Articles): Fix typo.
......
......@@ -9503,8 +9503,7 @@ that off, say:
(setq gnus-article-update-date-headers nil)
@end lisp
in your @file{~/.gnus.el} file. If you want to stop the updating
dynamically, you can use the @code{gnus-stop-date-timer} command.
in your @file{~/.gnus.el} file.
@item W T o
@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>
* mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
......
......@@ -4505,9 +4505,13 @@ commands:
(setq gnus-summary-buffer
(gnus-summary-buffer-name gnus-newsgroup-name))
(gnus-summary-set-local-parameters gnus-newsgroup-name)
(when (and gnus-article-update-date-headers
(not article-lapsed-timer))
(cond
((and gnus-article-update-date-headers
(not article-lapsed-timer))
(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)))))
;; 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