+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)
;; 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