mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
lisp/gnus/registry.el (registry-collect-prune-candidates): Fix call to cl-subseq
This commit is contained in:
parent
395a76ad1c
commit
b8ea3aa9db
@ -1,3 +1,8 @@
|
||||
2015-03-19 Eric Abrahamsen <eric@ericabrahamsen.net>
|
||||
|
||||
* registry.el (registry-collect-prune-candidates): Fix call to
|
||||
cl-subseq.
|
||||
|
||||
2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* gnus-registry.el (gnus-registry-handle-action)
|
||||
|
@ -371,7 +371,7 @@ entries first and return candidates from beginning of list."
|
||||
;; list of entry keys.
|
||||
(when sortfunc
|
||||
(setq candidates (sort candidates sortfunc)))
|
||||
(delq nil (cl-subseq (mapcar #'car candidates) 0 limit))))
|
||||
(cl-subseq (mapcar #'car candidates) 0 (min limit (length candidates)))))
|
||||
|
||||
(provide 'registry)
|
||||
;;; registry.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user