mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* misc/ruby-style.el (ruby-style-version): take revision if
keyword is expanded. [ruby-dev:41408] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2daff3cd66
commit
2c2374224c
2 changed files with 6 additions and 1 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue