aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Malabarba2015-04-12 02:33:29 +0100
committerArtur Malabarba2015-04-12 02:33:29 +0100
commit357edb4e89e9a6a9a436f88d83cd2bc7c9da29eb (patch)
tree36319ceef66893df4c0c8fc4135df6fe52d07394
parentf80027b37ac4d41dcc4ad7ce1e486dd194307b5d (diff)
downloademacs-357edb4e89e9a6a9a436f88d83cd2bc7c9da29eb.tar.gz
emacs-357edb4e89e9a6a9a436f88d83cd2bc7c9da29eb.zip
* lisp/emacs-lisp/package.el: Fix initially wrong compat table
(package--build-compatibility-table): require finder
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 22575ca472f..8920bf6a81d 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1199,6 +1199,8 @@ version higher than the one being used. To check for package
1199 1199
1200(defun package--build-compatibility-table () 1200(defun package--build-compatibility-table ()
1201 "Build `package--compatibility-table' with `package--mapc'." 1201 "Build `package--compatibility-table' with `package--mapc'."
1202 ;; Initialize the list of built-ins.
1203 (require 'finder-inf nil t)
1202 ;; Build compat table. 1204 ;; Build compat table.
1203 (setq package--compatibility-table (make-hash-table :test 'eq)) 1205 (setq package--compatibility-table (make-hash-table :test 'eq))
1204 (package--mapc #'package--add-to-compatibility-table)) 1206 (package--mapc #'package--add-to-compatibility-table))