comparison lisp/package-get.el @ 5470:0af042a0c116

Merge with trunk.
author Mats Lidell <matsl@xemacs.org>
date Mon, 07 Feb 2011 21:22:17 +0100
parents 308d34e9f07d 2a54dfbe434f
children 4dee0387b9de
comparison
equal deleted inserted replaced
5469:2a8a04f73c15 5470:0af042a0c116
1236 I'm not sure if I want to do this by searching directories or checking 1236 I'm not sure if I want to do this by searching directories or checking
1237 some built in variables. For now, use packages-package-list." 1237 some built in variables. For now, use packages-package-list."
1238 ;; Use packages-package-list which contains name and version 1238 ;; Use packages-package-list which contains name and version
1239 (equal (plist-get 1239 (equal (plist-get
1240 (package-get-info-find-package packages-package-list 1240 (package-get-info-find-package packages-package-list
1241 package) ':version) 1241 package) :version)
1242 (if (floatp version) 1242 (if (floatp version)
1243 version 1243 version
1244 (string-to-number version)))) 1244 (string-to-number version))))
1245 1245
1246 ;;;###autoload 1246 ;;;###autoload