[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
(package-get-version))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
my-great-package-version
-> "2.7.0"
--
https://www.paulwrankin.com
- Function to retrieve package version,
Paul W. Rankin <=
- Re: Function to retrieve package version, Michael Albinus, 2019/05/21
- Re: Function to retrieve package version, Paul W. Rankin, 2019/05/21
- Re: Function to retrieve package version, Michael Albinus, 2019/05/21
- Re: Function to retrieve package version, Richard Stallman, 2019/05/21
- Re: Function to retrieve package version, Paul W. Rankin, 2019/05/21
- Re: Function to retrieve package version, Eli Zaretskii, 2019/05/21
- Re: Function to retrieve package version, Paul W. Rankin, 2019/05/21
- Re: Function to retrieve package version, Michael Albinus, 2019/05/22
- Re: Function to retrieve package version, Eli Zaretskii, 2019/05/22
- Re: Function to retrieve package version, Richard Stallman, 2019/05/22