summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-30 15:56:58 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-30 15:56:58 +0000
commit131f4a2fd95df963dceb016512037fe06f5b08c6 (patch)
treee50528a9117d32d825327c49310ea22b67fcc4c6 /misc
parentf8ebf9b99271e23c0baee7f5852c572d6e78b19c (diff)
* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression. [ruby-dev:27868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 2944244..12c60a1 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