mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 15:10:37 -08:00
lisp/gnus/registry.el (registry-collect-prune-candidates): Fix call to cl-subseq
This commit is contained in:
parent
395a76ad1c
commit
b8ea3aa9db
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue