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-parse-partial): keywords must not be

preceded by @ or $.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-12-20 22:27:30 +00:00
parent 85ce703fab
commit d0527b05d8
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sat Dec 21 07:27:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-parse-partial): keywords must not be
preceded by @ or $.
Fri Dec 20 20:29:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,

View file

@ -315,6 +315,8 @@ The variable ruby-indent-level controls the amount of indentation.
(let ((pnt (point)) w re expand)
(goto-char (match-beginning 0))
(cond
((and (memq (char-before) '(?@ ?$)) (looking-at "\\sw"))
(goto-char pnt))
((or (looking-at "\"") ;skip string
(looking-at "`"))
(cond