diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-19 14:48:35 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-19 14:48:35 +0000 |
| commit | 368d9fa26811f661ae9971617047f211bf05b877 (patch) | |
| tree | 0e88959a99ad40dc224f259ca656259c528dfb8c /misc/ruby-mode.el | |
| parent | 04834aa95d38a65c2cefeb5885070c2bb626b339 (diff) | |
| download | ruby-368d9fa26811f661ae9971617047f211bf05b877.tar.gz ruby-368d9fa26811f661ae9971617047f211bf05b877.tar.xz ruby-368d9fa26811f661ae9971617047f211bf05b877.zip | |
* misc/ruby-mode.el (ruby-expr-beg): returned true always.
fixed: [ruby-list:40683]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
| -rw-r--r-- | misc/ruby-mode.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 9866bb3fb..0218fe55c 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -312,8 +312,7 @@ The variable ruby-indent-level controls the amount of indentation. (or (eq (char-syntax (char-before (point))) ?w) (ruby-special-char-p)))) nil) - ((or (goto-char start) - (looking-at ruby-operator-re) + ((or (save-excursion (goto-char start) (looking-at ruby-operator-re)) (looking-at "[\\[({,;]") (and (or (not (eq option 'heredoc)) (< space 0)) |
