diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 04:50:04 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 04:50:04 +0000 |
commit | a07a26c9ac8f232907fc48d44970d7de7c6726c8 (patch) | |
tree | df55d54a7eb8949709cdeaadaa52b98c60e117a1 /misc | |
parent | 290ec14a835d150a7405e845e7c1c91715c58033 (diff) | |
download | ruby-a07a26c9ac8f232907fc48d44970d7de7c6726c8.tar.gz ruby-a07a26c9ac8f232907fc48d44970d7de7c6726c8.tar.xz ruby-a07a26c9ac8f232907fc48d44970d7de7c6726c8.zip |
* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression. [ruby-dev:27868]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-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 da4c4386a..fa84d5b3c 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 |