|
From: | Stefan Monnier |
Subject: | Re: Obtaining the version of an installed package |
Date: | Mon, 09 Aug 2021 08:58:20 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I'm wondering if there's an API for obtaining metadata about installed > packages, in particular the version information. > For years I was using this function from pkg-info > https://github.com/emacsorphanage/pkg-info/blob/master/pkg-info.el#L65, but > I'm wondering if it'd be easy to strip one dependency from my packages. Are you looking for `package-get-version`? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |