* lisp/registry.el (registry-collect-prune-candidates): Earlier
versions of cl-subseq would, if you asked for a subsequence longer
than the sequence itself, pad its result with `nil's. It now errors,
so don't ask it to do that.
+2015-03-19 Eric Abrahamsen <eric@ericabrahamsen.net>
+
+ * registry.el (registry-collect-prune-candidates): Fix call to
+ cl-subseq.
+
2015-03-11 Katsumi Yamaoka <yamaoka@jpl.org>
* registry.el (registry-db): Temporary fix old Emacsen compilation.
;; 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