[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master f99d4f6: Add gnorb-version command
From: |
Eric Abrahamsen |
Subject: |
[elpa] master f99d4f6: Add gnorb-version command |
Date: |
Sun, 19 Mar 2017 22:00:22 -0400 (EDT) |
branch: master
commit f99d4f6d72d7b5f4fa715d23145ab815fa715a09
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Add gnorb-version command
* packages/gnorb/gnorb-utils.el (gnorb-version): Uses pkg-info-
function, so only works for Gnorb installed via package manager. But
that's the only place you can get this version, so...
---
packages/gnorb/gnorb-utils.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/packages/gnorb/gnorb-utils.el b/packages/gnorb/gnorb-utils.el
index 60e57b4..9352d34 100644
--- a/packages/gnorb/gnorb-utils.el
+++ b/packages/gnorb/gnorb-utils.el
@@ -76,6 +76,13 @@ with `gnorb-window-conf'.")
:group 'gnorb
:type 'string)
+(defun gnorb-version ()
+ "Return the version of currently-installed Gnorb.
+
+Only works for Gnorb installed via the package manager."
+ (interactive)
+ (pkg-info-package-version "gnorb"))
+
;;; this is just ghastly, but the value of this var is single regexp
;;; group containing various header names, and we want our value
;;; inside that group.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master f99d4f6: Add gnorb-version command,
Eric Abrahamsen <=