Return the last matching parameter instead of the first matching parameter.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 12:05:55 +0000 (14:05 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 12:05:55 +0000 (14:05 +0200)
lisp/ChangeLog
lisp/gnus.el
texi/gnus-news.texi

index 2d9fa96..6210d65 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus.el (gnus-group-fast-parameter): Return the last matching
+       parameter instead of the first matching parameter.
+
 2010-09-26  Julien Danjou  <julien@danjou.info>
 
        * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
index 46775fd..d823ec0 100644 (file)
@@ -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))))
 
index bf7a685..7d65482 100644 (file)
@@ -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