From 031b581efc011cc5f4bb7bb20fa4f11286463aae Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 11 May 2005 01:11:52 +0000 Subject: * struct.c (make_struct): allow const_id for accessor names. [ruby-core:04585] * eval.c (rb_attr): check if attribute name is local_id or const_id. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 0218fe55c..61d865060 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -398,7 +398,7 @@ The variable ruby-indent-level controls the amount of indentation. ((and (not (eobp)) (ruby-expr-beg 'expr-qstr) (not (looking-at "%=")) - (looking-at "%[QqrxWw]?\\(.\\)")) + (looking-at "%[QqrxWw]?\\([^a-zA-Z0-9 \t\n]\\)")) (goto-char (match-beginning 1)) (setq expand (not (memq (char-before) '(?q ?w)))) (setq w (match-string 1)) -- cgit