emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111772: * lisp/emacs-lisp/package.el


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111772: * lisp/emacs-lisp/package.el (package--initialized): Move before first use.
Date: Wed, 13 Feb 2013 11:02:35 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111772
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2013-02-13 11:02:35 -0500
message:
  * lisp/emacs-lisp/package.el (package--initialized): Move before first use.
modified:
  lisp/ChangeLog
  lisp/emacs-lisp/package.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-02-13 15:13:22 +0000
+++ b/lisp/ChangeLog    2013-02-13 16:02:35 +0000
@@ -1,3 +1,7 @@
+2013-02-13  Stefan Monnier  <address@hidden>
+
+       * emacs-lisp/package.el (package--initialized): Move before first use.
+
 2013-02-13  Jambunathan K  <address@hidden>
 
        * icomplete.el (icomplete-hide-common-prefix):  New user option.

=== modified file 'lisp/emacs-lisp/package.el'
--- a/lisp/emacs-lisp/package.el        2013-02-13 05:00:45 +0000
+++ b/lisp/emacs-lisp/package.el        2013-02-13 16:02:35 +0000
@@ -735,6 +735,8 @@
     (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 @@
                                     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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]