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