From cced56ef7c45d74fb1593e18f7137c144d8b8b44 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 30 Nov 2005 04:50:04 +0000 Subject: * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of expression. [ruby-dev:27868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 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 da4c4386ad..fa84d5b3c5 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -318,7 +318,7 @@ The variable ruby-indent-level controls the amount of indentation. (and (looking-at "[!?]") (or (not (eq option 'modifier)) (bolp) - (save-excursion (forward-char -1) (looking-at "\\Sw")))) + (save-excursion (forward-char -1) (looking-at "\\Sw$")))) (and (looking-at ruby-symbol-re) (skip-chars-backward ruby-symbol-chars) (cond -- cgit v1.2.3