From c7d585c7c7e6028f8dcb9a26f0827cfec34c6005 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 5 Dec 2000 09:36:54 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') 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\\>[^_]"))))) -- cgit