diff options
| -rw-r--r-- | lisp/gnus/gnus-mlspl.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-mlspl.el b/lisp/gnus/gnus-mlspl.el index 2fbde2046c0..7b979d14710 100644 --- a/lisp/gnus/gnus-mlspl.el +++ b/lisp/gnus/gnus-mlspl.el | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 22 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 23 | ;; Boston, MA 02111-1307, USA. | 23 | ;; Boston, MA 02111-1307, USA. |
| 24 | 24 | ||
| 25 | (eval-when-compile (require 'cl)) | ||
| 25 | (require 'gnus) | 26 | (require 'gnus) |
| 26 | (require 'gnus-sum) | 27 | (require 'gnus-sum) |
| 27 | (require 'gnus-group) | 28 | (require 'gnus-group) |
| @@ -55,11 +56,12 @@ nnmail-pre-get-new-mail-hook." | |||
| 55 | ;;;###autoload | 56 | ;;;###autoload |
| 56 | (defun gnus-group-split-update (&optional catch-all) | 57 | (defun gnus-group-split-update (&optional catch-all) |
| 57 | "Computes nnmail-split-fancy from group params. | 58 | "Computes nnmail-split-fancy from group params. |
| 58 | It does this by calling \(gnus-group-split-fancy nil nil DEFAULTGROUP)." | 59 | It does this by calling \(gnus-group-split-fancy nil CROSSPOST DEFAULTGROUP)." |
| 59 | (interactive) | 60 | (interactive) |
| 60 | (setq nnmail-split-fancy | 61 | (setq nnmail-split-fancy |
| 61 | (gnus-group-split-fancy | 62 | (gnus-group-split-fancy |
| 62 | nil nil (or catch-all gnus-group-split-default-catch-all-group))) | 63 | nil (null nnmail-crosspost) |
| 64 | (or catch-all gnus-group-split-default-catch-all-group))) | ||
| 63 | (run-hooks 'gnus-group-split-updated-hook)) | 65 | (run-hooks 'gnus-group-split-updated-hook)) |
| 64 | 66 | ||
| 65 | ;;;###autoload | 67 | ;;;###autoload |
| @@ -195,7 +197,7 @@ Calling (gnus-group-split-fancy nil nil \"mail.misc\") returns: | |||
| 195 | (setq catch-all nil))))))))) | 197 | (setq catch-all nil))))))))) |
| 196 | ;; Add catch-all if not crossposting | 198 | ;; Add catch-all if not crossposting |
| 197 | (if (and catch-all no-crosspost) | 199 | (if (and catch-all no-crosspost) |
| 198 | (push split catch-all)) | 200 | (push catch-all split)) |
| 199 | ;; Move it to the tail, while arranging that SPLITs appear in the | 201 | ;; Move it to the tail, while arranging that SPLITs appear in the |
| 200 | ;; same order as groups. | 202 | ;; same order as groups. |
| 201 | (setq split (reverse split)) | 203 | (setq split (reverse split)) |