summaryrefslogtreecommitdiff
path: root/sample/ruby-mode.el
diff options
context:
space:
mode:
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 3a5bab86ce8..8beb2ecebfd 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)))