changeset 41630:b24292e7f5ad

2001-11-28 ShengHuo ZHU <zsh@cs.rochester.edu> * gnus-sum.el (gnus-summary-limit-to-author): The number of arguments.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Wed, 28 Nov 2001 16:34:15 +0000
parents 9dccfa8cdcc6
children ef0186b9dac0
files lisp/gnus/ChangeLog lisp/gnus/gnus-sum.el
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Nov 28 13:08:40 2001 +0000
+++ b/lisp/gnus/ChangeLog	Wed Nov 28 16:34:15 2001 +0000
@@ -1,3 +1,7 @@
+2001-11-28  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+	* gnus-sum.el (gnus-summary-limit-to-author): The number of arguments.
+
 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
 
 	* imap.el (imap-interactive-login, imap-open, imap-authenticate):
--- a/lisp/gnus/gnus-sum.el	Wed Nov 28 13:08:40 2001 +0000
+++ b/lisp/gnus/gnus-sum.el	Wed Nov 28 16:34:15 2001 +0000
@@ -6413,15 +6413,15 @@
 	  (gnus-summary-limit articles))
       (gnus-summary-position-point))))
 
-(defun gnus-summary-limit-to-author (from)
+(defun gnus-summary-limit-to-author (from &optional not-matching)
   "Limit the summary buffer to articles that have authors that match a regexp.
 If NOT-MATCHING, excluding articles that have authors that match a regexp."
   (interactive 
    (list (read-string (if current-prefix-arg
 			  "Exclude author (regexp): "
 			"Limit to author (regexp): ")) 
-	 nil current-prefix-arg))
-  (gnus-summary-limit-to-subject from "from"))
+	 current-prefix-arg))
+  (gnus-summary-limit-to-subject from "from" not-matching))
 
 (defun gnus-summary-limit-to-age (age &optional younger-p)
   "Limit the summary buffer to articles that are older than (or equal) AGE days.