summaryrefslogtreecommitdiff
path: root/sample/ruby-mode.el
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-25 09:42:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-25 09:42:47 +0000
commit8b1e7e34403977058d412931e31577df719fd2e4 (patch)
tree7743656749f91b601f3d025ea357e8a8043424d8 /sample/ruby-mode.el
parent45c61f40b23b14e97428206e1b813eb813526e6f (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/ruby-mode.el')
-rw-r--r--sample/ruby-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el
index 3a5bab86ce..8beb2ecebf 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -349,7 +349,8 @@ The variable ruby-indent-level controls the amount of indentation.
(goto-char pnt))
((looking-at ":\\([a-zA-Z_][a-zA-Z_0-9]*\\)?")
(goto-char (match-end 0)))
- ((or (looking-at "\\.\\.\\.?")
+ ((or (looking-at "\\.")
+ (looking-at "\\.\\.\\.?")
(looking-at "\\.[0-9]+")
(looking-at "\\.[a-zA-Z_0-9]+"))
(goto-char (match-end 0)))