summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 06:32:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 06:32:07 +0000
commit8d4d2e43233afcb075b4663828568bd5a5f16712 (patch)
tree79d56f2321901fa853108f494ed363d5281bdeae /misc
parentc492b9b0857a76a94db586c87e3ab5a270b20746 (diff)
* misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): should not
search delimiter forward if found in backward. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index f538714..8d9df41 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -1085,8 +1085,8 @@ balanced expression is found."
(setq beg (point)))))
(if (and beg
(let ((end-match (ruby-here-doc-end-match)))
- (not (re-search-backward end-match beg t))
- (re-search-forward end-match nil t)))
+ (and (not (re-search-backward end-match beg t))
+ (re-search-forward end-match nil t))))
(progn
(set-match-data (list beg (point)))
t)