* misc/ruby-mode.el: don't crash the whole mode if the Subversion

$ keyword isn't interpolated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-09-06 22:32:38 +00:00
Родитель 2d1c5d2c24
Коммит ce231cdbdd
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -5,6 +5,9 @@ Sun Sep 7 07:24:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el: improve here-doc performance.
* misc/ruby-mode.el: don't crash the whole mode if the Subversion
$ keyword isn't interpolated.
Sun Sep 7 06:31:51 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (file_expand_path): applied a patch from Nobuhiro Tachino

Просмотреть файл

@ -9,9 +9,8 @@
"Ruby mode revision string.")
(defconst ruby-mode-version
(progn
(string-match "[0-9.]+" ruby-mode-revision)
(substring ruby-mode-revision (match-beginning 0) (match-end 0)))
(and (string-match "[0-9.]+" ruby-mode-revision)
(substring ruby-mode-revision (match-beginning 0) (match-end 0)))
"Ruby mode version number.")
(defconst ruby-block-beg-re