lisp/gnus/registry.el (registry-collect-prune-candidates): Fix call to cl-subseq
This commit is contained in:
committed by
Katsumi Yamaoka
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
|
||||
|
||||
Reference in New Issue
Block a user