branch: elpa/vm
commit 3f3deb718dc35d64bade42014ffa8d0cdbb15dc5
Merge: c722f20a7bd 93ab1cb067d
Author: Mark Diekhans <[email protected]>
Commit: Mark Diekhans <[email protected]>
Merge branch 'main' into 'main'
change Package-Requires to specifie the minimum version of emacs and
remove...
See merge request emacs-vm/vm!60
---
lisp/vm.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lisp/vm.el b/lisp/vm.el
index 3b8f97bd058..db9c5fc452e 100644
--- a/lisp/vm.el
+++ b/lisp/vm.el
@@ -9,7 +9,7 @@
;; Version: 8.3.0snapshot
;; Maintainer: [email protected]
;; URL: https://gitlab.com/emacs-vm/vm
-;; Package-Requires: ((cl-lib "0.5") (nadvice "0.3") (vcard "0.2.2"))
+;; Package-Requires: ((emacs "28.0") (vcard "0.2.2"))
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -58,8 +58,8 @@
(eval-when-compile (require 'cl-lib))
(require 'package)
-(defconst vm-min-emacs-version 28
- "Minimum required Emacs major version supported by VM.")
+(defconst vm-min-emacs-version "28.0"
+ "Minimum Emacs version supported by VM.")
(defvar enable-multibyte-characters)
@@ -86,11 +86,11 @@
(&optional arg))
;; Don't get any farther if emacs is too old
-(when (< emacs-major-version vm-min-emacs-version)
- (error "VM requires Emacs %d or later" vm-min-emacs-version))
+(when (version< emacs-version vm-min-emacs-version)
+ (error "VM requires Emacs %s or later" vm-min-emacs-version))
-;; Ensure that vm-autoloads is loaded in case the user is using VM 7.x
+;; Ensure that vm-autoloads is loaded in case the user is using VM
;; autoloads
(if (not (featurep 'xemacs))