|
From: | Stefan Monnier |
Subject: | Re: Function to retrieve package version |
Date: | Tue, 21 May 2019 17:55:19 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (defvar my-great-package-version > (package-get-version)) C-h o package-get-version RET says: package-get-version is an autoloaded compiled Lisp function in ‘package.el’. (package-get-version) This function does not change global state, including the match data. Return the version number of the package in which this is used. Assumes it is used from an Elisp file placed inside the top-level directory of an installed ELPA package. The return value is a string (or nil in case we can’t find it). -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |