[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/devil 12f783f2da 1/3: Reinstate variable devil-version
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/devil 12f783f2da 1/3: Reinstate variable devil-version |
Date: |
Sat, 3 Jun 2023 13:00:34 -0400 (EDT) |
branch: elpa/devil
commit 12f783f2da8d489db1bb12020e3a35f1c4891d5a
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>
Reinstate variable devil-version
---
CHANGES.org | 4 ++++
devil.el | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/CHANGES.org b/CHANGES.org
index b2414f69ff..d47694c9be 100644
--- a/CHANGES.org
+++ b/CHANGES.org
@@ -11,6 +11,10 @@
- Function =devil-set-key= to set a new Devil key and update the
mode's keymap.
+- Reinstate variable =devil-version= since it is useful in determining
+ the source version conveniently. It helps during troubleshooting
+ the package when installed from MELPA which sets the package version
+ to a version derived from the current date and time.
*** Changed
diff --git a/devil.el b/devil.el
index 5380c24847..795530db95 100644
--- a/devil.el
+++ b/devil.el
@@ -4,7 +4,7 @@
;; Author: Susam Pal <susam@susam.net>
;; Maintainer: Susam Pal <susam@susam.net>
-;; Version: 0.5.0.pre1
+;; Version: 0.5.0-beta1
;; Package-Requires: ((emacs "24.4"))
;; Keywords: convenience, abbrev
;; URL: https://github.com/susam/devil
@@ -44,6 +44,9 @@
:prefix "devil-"
:group 'editing)
+(defconst devil-version "0.5.0-beta1"
+ "Devil version string.")
+
(defvar devil-mode-map (make-sparse-keymap)
"Keymap for Devil mode.