diff options
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r-- | misc/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 294424434e..12c60a1d84 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -318,7 +318,7 @@ The variable ruby-indent-level controls the amount of indentation. (and (looking-at "[!?]") (or (not (eq option 'modifier)) (bolp) - (save-excursion (forward-char -1) (looking-at "\\Sw")))) + (save-excursion (forward-char -1) (looking-at "\\Sw$")))) (and (looking-at ruby-symbol-re) (skip-chars-backward ruby-symbol-chars) (cond |