summaryrefslogtreecommitdiffstats
path: root/misc/ruby-mode.el
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-05 09:59:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-05 09:59:45 +0000
commit19b86121912a17dda0ba0e68513a24a2d8d1b06e (patch)
tree3732688b3c83865608fad9d998f00ac2db24b77f /misc/ruby-mode.el
parent139cc0c17eb17727920a36624b068e985135bbce (diff)
downloadruby-19b86121912a17dda0ba0e68513a24a2d8d1b06e.tar.gz
ruby-19b86121912a17dda0ba0e68513a24a2d8d1b06e.tar.xz
ruby-19b86121912a17dda0ba0e68513a24a2d8d1b06e.zip
* lib/matrix.rb (Matrix::rank): use quo method to avoid integer
division problem. [ruby-core:09644] * lib/matrix.rb (Matrix::rank_e): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index c44b4c787..cf827ebe5 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -383,6 +383,8 @@ The variable ruby-indent-level controls the amount of indentation.
(t
(setq in-string (point))
(goto-char end))))
+ ((looking-at "/=")
+ (goto-char pnt))
((looking-at "/")
(cond
((and (not (eobp)) (ruby-expr-beg 'expr-re))