summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-18 06:38:30 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-18 06:38:30 +0000
commitce3eb0b20417dd304f27618ed5db0693b2c9563a (patch)
tree1a65b8a88a292a5edd93f74290ec201b041c27cc /misc
parent925cb98fe832a25734420c8bd5b6eabceb985180 (diff)
* eval.c (rb_attr): attribute name check added.
* numeric.c (flo_plus): small typo fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index e2f64c8c34..2190a932bb 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))