* lisp/emacs-lisp/package.el: Fix initially wrong compat table

(package--build-compatibility-table): require finder
This commit is contained in:
Artur Malabarba 2015-04-12 02:33:29 +01:00
parent f80027b37a
commit 357edb4e89

View file

@ -1199,6 +1199,8 @@ version higher than the one being used. To check for package
(defun package--build-compatibility-table ()
"Build `package--compatibility-table' with `package--mapc'."
;; Initialize the list of built-ins.
(require 'finder-inf nil t)
;; Build compat table.
(setq package--compatibility-table (make-hash-table :test 'eq))
(package--mapc #'package--add-to-compatibility-table))