[Top][All Lists]

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

Function to retrieve package version

From: Paul W. Rankin
Subject: Function to retrieve package version
Date: Tue, 21 May 2019 14:55:57 +1000
User-agent: mu4e 1.2.0; emacs 26.2

wrt. http://lists.gnu.org/archive/html/help-gnu-emacs/2019-05/msg00022.html

I would like an easy function that retrieves the version of the current package, e.g.

;;; my-great-package.el --- A great package

;; Copyright (c) 1952-2019  Free Software Foundation, Inc.

;; Author: Mr. Big Pants <address@hidden>
;; Version: 2.7.0
;; Package-Requires: ((emacs "24.5"))

(defvar my-great-package-version

   -> "2.7.0"


reply via email to

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