summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-05 09:36:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-05 09:36:54 +0000
commit03581d5826a7f2ed7b7f9c0691220c1a5ac00988 (patch)
tree123b6e6109b307d0006908538b2daaa653f0639f /misc
parentafa2732b784aaac7800ba03d5617d5d395964149 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1055 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 ed35801958..cfb0b3a0de 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -52,7 +52,7 @@
(defconst ruby-negative
(concat "^[ \t]*\\(\\(" ruby-block-mid-re "\\)\\>\\|\\("
- ruby-block-end-re "\\)\\>\\|\\}\\|\\]\\)")
+ ruby-block-end-re "\\)\\>\\|}\\|\\]\\)")
)
(defconst ruby-operator-chars "-,.+*/%&|^~=<>:")
@@ -549,7 +549,7 @@ The variable ruby-indent-level controls the amount of indentation.
(and (not (eolp))
(progn
(forward-char -1)
- (not (looking-at "\\{")))
+ (not (looking-at "{")))
(progn
(forward-word -1)
(not (looking-at "do\\>[^_]")))))