diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 15:56:58 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 15:56:58 +0000 |
| commit | 6cc4ed4bccaa4754012ed54fd7e1b5a3c3481513 (patch) | |
| tree | e50528a9117d32d825327c49310ea22b67fcc4c6 | |
| parent | 5f8b5cd9d27b085684ca527d7bc901d21c4c07f8 (diff) | |
| download | ruby-6cc4ed4bccaa4754012ed54fd7e1b5a3c3481513.tar.gz ruby-6cc4ed4bccaa4754012ed54fd7e1b5a3c3481513.tar.xz ruby-6cc4ed4bccaa4754012ed54fd7e1b5a3c3481513.zip | |
* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression. [ruby-dev:27868]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | misc/ruby-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -8,6 +8,11 @@ Wed Nov 30 23:52:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set. fixed: [ruby-dev:27896] +Wed Nov 30 13:43:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org> + + * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of + expression. [ruby-dev:27868] + Mon Nov 28 18:55:43 2005 NAKAMURA Usaku <usa@ruby-lang.org> * ext/socket/socket.c (init_inetsock_internal): remove setting diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 294424434..12c60a1d8 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 |
