diff options
| author | Miles Bader | 2008-10-03 04:18:56 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-10-03 04:18:56 +0000 |
| commit | 9091f2d335d153b71b0102c9524934eb912e30f1 (patch) | |
| tree | 5fb52e4fd8d963379f56dca501ff3fc459d3cfc6 | |
| parent | 2d0e0565597d306248c60121db39a0948553eb97 (diff) | |
| download | emacs-9091f2d335d153b71b0102c9524934eb912e30f1.tar.gz emacs-9091f2d335d153b71b0102c9524934eb912e30f1.zip | |
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1441
| -rw-r--r-- | lisp/gnus/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/gnus/nnfolder.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnml.el | 10 |
4 files changed, 20 insertions, 11 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index ef5add779b8..66fafa90ad6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2008-10-03 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * nnml.el (nnml-request-expire-articles): Check if the function set to | ||
| 4 | `nnmail-expiry-target' returns the symbol `delete'. | ||
| 5 | |||
| 6 | * nnfolder.el (nnfolder-request-expire-articles): Ditto. | ||
| 7 | |||
| 8 | * nnmail.el (nnmail-expiry-target): Fix custom type. | ||
| 9 | |||
| 1 | 2008-10-02 Glenn Morris <rgm@gnu.org> | 10 | 2008-10-02 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * mm-util.el (mm-codepage-setup): Tweak codepage error. | 12 | * mm-util.el (mm-codepage-setup): Tweak codepage error. |
diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el index 36e057148d7..629e22c6249 100644 --- a/lisp/gnus/nnfolder.el +++ b/lisp/gnus/nnfolder.el | |||
| @@ -472,11 +472,11 @@ the group. Then the marks file will be regenerated properly by Gnus.") | |||
| 472 | (let ((nnfolder-current-directory nil)) | 472 | (let ((nnfolder-current-directory nil)) |
| 473 | (when (functionp target) | 473 | (when (functionp target) |
| 474 | (setq target (funcall target newsgroup))) | 474 | (setq target (funcall target newsgroup))) |
| 475 | (if (and target | 475 | (when (and target (not (eq target 'delete))) |
| 476 | (or (gnus-request-group target) | 476 | (if (or (gnus-request-group target) |
| 477 | (gnus-request-create-group target))) | 477 | (gnus-request-create-group target)) |
| 478 | (nnmail-expiry-target-group target newsgroup) | 478 | (nnmail-expiry-target-group target newsgroup) |
| 479 | (setq target nil)))) | 479 | (setq target nil))))) |
| 480 | (nnfolder-possibly-change-group newsgroup server)) | 480 | (nnfolder-possibly-change-group newsgroup server)) |
| 481 | (when target | 481 | (when target |
| 482 | (nnheader-message 5 "Deleting article %d in %s..." | 482 | (nnheader-message 5 "Deleting article %d in %s..." |
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index f0419c7bf50..3bc9512b7c4 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -199,7 +199,7 @@ The return value should be `delete' or a group name (a string)." | |||
| 199 | :version "21.1" | 199 | :version "21.1" |
| 200 | :group 'nnmail-expire | 200 | :group 'nnmail-expire |
| 201 | :type '(choice (const delete) | 201 | :type '(choice (const delete) |
| 202 | (function :format "%v" nnmail-) | 202 | function |
| 203 | string)) | 203 | string)) |
| 204 | 204 | ||
| 205 | (defcustom nnmail-fancy-expiry-targets nil | 205 | (defcustom nnmail-fancy-expiry-targets nil |
diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el index 30a54543ad3..c66a06c233a 100644 --- a/lisp/gnus/nnml.el +++ b/lisp/gnus/nnml.el | |||
| @@ -364,11 +364,11 @@ non-nil.") | |||
| 364 | nnml-article-file-alist) | 364 | nnml-article-file-alist) |
| 365 | (when (functionp target) | 365 | (when (functionp target) |
| 366 | (setq target (funcall target group))) | 366 | (setq target (funcall target group))) |
| 367 | (if (and target | 367 | (when (and target (not (eq target 'delete))) |
| 368 | (or (gnus-request-group target) | 368 | (if (or (gnus-request-group target) |
| 369 | (gnus-request-create-group target))) | 369 | (gnus-request-create-group target)) |
| 370 | (nnmail-expiry-target-group target group) | 370 | (nnmail-expiry-target-group target group) |
| 371 | (setq target nil)))) | 371 | (setq target nil))))) |
| 372 | ;; Maybe directory is changed during nnmail-expiry-target-group. | 372 | ;; Maybe directory is changed during nnmail-expiry-target-group. |
| 373 | (nnml-possibly-change-directory group server)) | 373 | (nnml-possibly-change-directory group server)) |
| 374 | (if target | 374 | (if target |