From 5118c5a919782172ae58857d90142f78372c19be Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 26 Sep 2010 14:05:55 +0200 Subject: [PATCH] Return the last matching parameter instead of the first matching parameter. --- lisp/ChangeLog | 5 +++++ lisp/gnus.el | 4 +--- texi/gnus-news.texi | 6 ++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2d9fa963d..6210d65b3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-09-26 Lars Magne Ingebrigtsen + + * gnus.el (gnus-group-fast-parameter): Return the last matching + parameter instead of the first matching parameter. + 2010-09-26 Julien Danjou * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom. diff --git a/lisp/gnus.el b/lisp/gnus.el index 46775fd07..d823ec0a1 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -3861,9 +3861,7 @@ The function `gnus-group-find-parameter' will do that for you." ;; Expand if necessary. (if (and (stringp result) (string-match "\\\\[0-9&]" result)) (setq result (gnus-expand-group-parameter (car head) - result group))) - ;; Exit the loop early. - (setq tail nil)))) + result group)))))) ;; Done. result)))) diff --git a/texi/gnus-news.texi b/texi/gnus-news.texi index bf7a68500..7d6548204 100644 --- a/texi/gnus-news.texi +++ b/texi/gnus-news.texi @@ -103,6 +103,12 @@ EasyPG is included in Emacs 23 and available separately as well. @c ************************ @itemize @bullet + +@item +Symbols like @code{gcc-self} now has the same presedence rules in +@code{gnus-parameters} as other ``real'' variables: The last match +wins instead of the first match. + @item Old intermediate incoming mail files (@file{Incoming*}) are deleted after a couple of days, not immediately. @xref{Mail Source -- 2.34.1