1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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/branches/ruby_1_8@9642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-11-30 15:56:58 +00:00
parent f8ebf9b992
commit 131f4a2fd9
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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