summaryrefslogtreecommitdiffstats
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
commitc7d585c7c7e6028f8dcb9a26f0827cfec34c6005 (patch)
tree123b6e6109b307d0006908538b2daaa653f0639f /misc
parentb5ca10fe8729f9baa63b47e306690428ed6e35cc (diff)
downloadruby-c7d585c7c7e6028f8dcb9a26f0827cfec34c6005.tar.gz
ruby-c7d585c7c7e6028f8dcb9a26f0827cfec34c6005.tar.xz
ruby-c7d585c7c7e6028f8dcb9a26f0827cfec34c6005.zip
matz
git-svn-id: http://svn.ruby-lang.org/repos/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 ed3580195..cfb0b3a0d 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\\>[^_]")))))