From 1ead7dbd665015ab579ecb17932281862376f1d4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 13 Feb 2013 11:02:35 -0500 Subject: [PATCH] * lisp/emacs-lisp/package.el (package--initialized): Move before first use. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/package.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4976d5b9410..810fa1db145 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-02-13 Stefan Monnier + + * emacs-lisp/package.el (package--initialized): Move before first use. + 2013-02-13 Jambunathan K * icomplete.el (icomplete-hide-common-prefix): New user option. diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index be019b4cf05..c15c9e079fe 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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. -- 2.39.5