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/trunk@28010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2081114600
commit
42c16a3b07
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue May 25 16:37:39 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-style.el (ruby-style-version): take revision if
|
||||
keyword is expanded. [ruby-dev:41408]
|
||||
|
||||
Tue May 25 13:26:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/vm.h, include/ruby/encoding.h: add external
|
||||
|
|
|
@ -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
Reference in a new issue