diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/registry.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 64124bc183d..7e962f73068 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-03-19 Eric Abrahamsen <eric@ericabrahamsen.net> | ||
| 2 | |||
| 3 | * registry.el (registry-collect-prune-candidates): Fix call to | ||
| 4 | cl-subseq. | ||
| 5 | |||
| 1 | 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * gnus-registry.el (gnus-registry-handle-action) | 8 | * gnus-registry.el (gnus-registry-handle-action) |
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index 1c83b939d80..6ee1c316643 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el | |||
| @@ -371,7 +371,7 @@ entries first and return candidates from beginning of list." | |||
| 371 | ;; list of entry keys. | 371 | ;; list of entry keys. |
| 372 | (when sortfunc | 372 | (when sortfunc |
| 373 | (setq candidates (sort candidates sortfunc))) | 373 | (setq candidates (sort candidates sortfunc))) |
| 374 | (delq nil (cl-subseq (mapcar #'car candidates) 0 limit)))) | 374 | (cl-subseq (mapcar #'car candidates) 0 (min limit (length candidates))))) |
| 375 | 375 | ||
| 376 | (provide 'registry) | 376 | (provide 'registry) |
| 377 | ;;; registry.el ends here | 377 | ;;; registry.el ends here |