1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00

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

This commit is contained in:
Stefan Monnier 2013-02-13 11:02:35 -05:00
parent 5cbfe5b974
commit 1ead7dbd66
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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.