]> git.eshelyaron.com Git - emacs.git/commitdiff
2001-11-28 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 28 Nov 2001 16:34:15 +0000 (16:34 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 28 Nov 2001 16:34:15 +0000 (16:34 +0000)
* gnus-sum.el (gnus-summary-limit-to-author): The number of arguments.

lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el

index 15c513918588f9925e32e33c2dbc4db9389843ef..b98df260be4d74700f4318eb298a00f3f4114ded 100644 (file)
@@ -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):
index 470c7a9aa888ac7cb4a6e73c1d4b7458355354d1..86e7d31b71398935c9fc41bd8d1078c56182defa 100644 (file)
@@ -6413,15 +6413,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.