Mercurial > emacs
diff lisp/gnus/gnus-util.el @ 82365:e5a68f18fcb9
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 13 Aug 2007 13:41:28 +0000 |
parents | f0a07da7dd45 |
children | f6c37512dd9e 424b655804ca |
line wrap: on
line diff
--- a/lisp/gnus/gnus-util.el Mon Aug 13 11:27:41 2007 +0000 +++ b/lisp/gnus/gnus-util.el Mon Aug 13 13:41:28 2007 +0000 @@ -1108,7 +1108,7 @@ `(setq ,alist (delq (,fun ,key ,alist) ,alist)))) (defun gnus-globalify-regexp (re) - "Return a regexp that matches a whole line, iff RE matches a part of it." + "Return a regexp that matches a whole line, if RE matches a part of it." (concat (unless (string-match "^\\^" re) "^.*") re (unless (string-match "\\$$" re) ".*$")))