2001-11-28 11:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 28 Nov 2001 16:31:17 +0000 (16:31 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 28 Nov 2001 16:31:17 +0000 (16:31 +0000)
* gnus-sum.el (gnus-summary-limit-to-author): Missing arguments.
  Thanks to david.goldberg6@verizon.net (David S. Goldberg)

lisp/ChangeLog
lisp/gnus-sum.el

index 5dfe707..2ad7d81 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28 11:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-sum.el (gnus-summary-limit-to-author): Missing arguments.
+         Thanks to david.goldberg6@verizon.net (David S. Goldberg)
+
 2001-11-27 14:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-topic.el (gnus-topic-mode): Add LOCAL for add-hook.
index dab60c6..1f9a181 100644 (file)
@@ -6860,15 +6860,15 @@ If NOT-MATCHING, excluding articles that have subjects that match a regexp."
          (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.