diff options
Diffstat (limited to 'misc/ruby-style.el')
-rw-r--r-- | misc/ruby-style.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-style.el b/misc/ruby-style.el index 6dc444273c..c433025dbc 100644 --- a/misc/ruby-style.el +++ b/misc/ruby-style.el @@ -21,7 +21,7 @@ "Ruby style revision string.") (defconst ruby-style-version - (progn + (and (string-match "[0-9.]+" ruby-style-revision) (substring ruby-style-revision (match-beginning 0) (match-end 0))) "Ruby style version number.") |