diff options
author | Matt Lundin <mdl@imapmail.org> | 2012-04-22 11:23:19 -0500 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-04-23 09:18:52 +0200 |
commit | e5101717fab4a1eb12afbdad5ffbfa659134bc63 (patch) | |
tree | f09dae5b2f43cc490bbfc0cfdffa467a92811c84 | |
parent | e9dec29bb12fbcfc3674395bb34b104b55a29d0e (diff) | |
download | org-mode-e5101717fab4a1eb12afbdad5ffbfa659134bc63.tar.gz |
Following gnus links: Don't mark unrelated articles read
* lisp/org-gnus.el: (org-gnus-follow-link): Fix argument to
gnus-group-read-group so that following a link does not result in
unread article being selected.
The NO-ARTICLE argument to gnus-group-read-group should be t.
Otherwise org-gnus-follow-link selects the most unread article in a
group before selecting the linked article. This results in unread
articles being unread (which can cause one to miss important mail).
-rw-r--r-- | lisp/org-gnus.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index 5b855c2..50d91be 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -272,7 +272,7 @@ If `org-store-link' was called with a prefix arg the meaning of ;; stop on integer overflows (> articles 0)) (setq group-opened (gnus-group-read-group - articles nil group) + articles t group) articles (if (< articles 16) (1+ articles) (* articles 2)))) |