Commit 1ead7dbd authored by Stefan Monnier's avatar Stefan Monnier

* lisp/emacs-lisp/package.el (package--initialized): Move before first use.

parent 5cbfe5b9
2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/package.el (package--initialized): Move before first use.
2013-02-13 Jambunathan K <kjambunathan@gmail.com>
* icomplete.el (icomplete-hide-common-prefix): New user option.
......
......@@ -735,6 +735,8 @@ It will move point to somewhere in the headers."
(package--with-work-buffer location file
(package-unpack name version))))
(defvar package--initialized nil)
(defun package-installed-p (package &optional min-version)
"Return true if PACKAGE, of MIN-VERSION or newer, is installed.
MIN-VERSION should be a version list."
......@@ -896,8 +898,6 @@ using `package-compute-transaction'."
package-user-dir)
(package-activate elt (version-to-list v-string)))))
(defvar package--initialized nil)
;;;###autoload
(defun package-install (name)
"Install the package named NAME.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment