diff options
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 4dee306c81b..c4345056349 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -1266,9 +1266,13 @@ For example: ((1 . cn-gb-2312) (2 . big5))." | |||
| 1266 | :type 'boolean | 1266 | :type 'boolean |
| 1267 | :group 'gnus-summary-marks) | 1267 | :group 'gnus-summary-marks) |
| 1268 | 1268 | ||
| 1269 | (defcustom gnus-alter-articles-to-read-function nil | 1269 | (defcustom gnus-alter-articles-to-read-function |
| 1270 | "Function to be called to alter the list of articles to be selected." | 1270 | (lambda (_group article-list) article-list) |
| 1271 | :type '(choice (const nil) function) | 1271 | "Function to be called to alter the list of articles to be selected. |
| 1272 | This option defaults to a lambda form that simply returns the | ||
| 1273 | list of articles unchanged. Use `add-function' to set one or | ||
| 1274 | more custom filter functions." | ||
| 1275 | :type 'function | ||
| 1272 | :group 'gnus-summary) | 1276 | :group 'gnus-summary) |
| 1273 | 1277 | ||
| 1274 | (defcustom gnus-orphan-score nil | 1278 | (defcustom gnus-orphan-score nil |
| @@ -5914,7 +5918,7 @@ If SELECT-ARTICLES, only select those articles from GROUP." | |||
| 5914 | (setq articles (nthcdr (- number select) articles)))) | 5918 | (setq articles (nthcdr (- number select) articles)))) |
| 5915 | (setq gnus-newsgroup-unselected | 5919 | (setq gnus-newsgroup-unselected |
| 5916 | (gnus-sorted-difference gnus-newsgroup-unreads articles)) | 5920 | (gnus-sorted-difference gnus-newsgroup-unreads articles)) |
| 5917 | (when gnus-alter-articles-to-read-function | 5921 | (when (functionp gnus-alter-articles-to-read-function) |
| 5918 | (setq articles | 5922 | (setq articles |
| 5919 | (sort | 5923 | (sort |
| 5920 | (funcall gnus-alter-articles-to-read-function | 5924 | (funcall gnus-alter-articles-to-read-function |