summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorDan Leslie <dan@ironoxide.ca>2015-08-14 08:27:05 -0700
committerDan Leslie <dan@ironoxide.ca>2015-08-14 08:27:05 -0700
commitbfb4a8fce5828d15641164b475b830031c6d3335 (patch)
tree69c665156d5d7d13dd0d608f28277728709799ee /elisp
parentbfbaaf707f82027e05ea4cfee5d31f2f8eb64690 (diff)
downloadgeiser-guile-bfb4a8fce5828d15641164b475b830031c6d3335.tar.gz
geiser-guile-bfb4a8fce5828d15641164b475b830031c6d3335.tar.bz2
Modifies geiser--cut-version regex
Minor and Patch versions are now optional.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-base.el2
1 files changed, 1 insertions, 1 deletions
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)