From bfb4a8fce5828d15641164b475b830031c6d3335 Mon Sep 17 00:00:00 2001 From: Dan Leslie Date: Fri, 14 Aug 2015 08:27:05 -0700 Subject: Modifies geiser--cut-version regex Minor and Patch versions are now optional. --- elisp/geiser-base.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elisp/geiser-base.el') diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el index 3e248ac..4d303db 100644 --- a/elisp/geiser-base.el +++ b/elisp/geiser-base.el @@ -74,7 +74,7 @@ (and thing (make-symbol thing)))) (defun geiser--cut-version (v) - (when (string-match "\\([0-9]+\\(?:\\.[0-9]+\\.[0-9]+\\)?\\).*" v) + (when (string-match "\\([0-9]+\\(?:\\.[0-9]+\\)*\\).*" v) (match-string 1 v))) (defun geiser--version< (v1 v2) -- cgit v1.2.3